Project

Profile

Help

Support #3541

closed

Remove empty tags from XML

Added by abhishek munjal about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2017-11-23
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

Michael,

I have a requirement to remove the empty tags from the incoming large XML file (>500 MB) . Is there a optimized way to achieve this using Saxon XSLT transformer.

Right now i am using 2 XSLT's , one for data transformation and other as a post processing step for removing empty tags (in memory processing). It will be great if both of these step can be done together. Thanks in Advance


Files

SampleInput.xml (921 Bytes) SampleInput.xml the input XML file we need to process Don Bosco Antony, 2017-12-07 11:07
error_filteremptynodes.log (3.01 KB) error_filteremptynodes.log the error log we captured during the execution Don Bosco Antony, 2017-12-07 11:07
FilterEmptyNodes.xsl (426 Bytes) FilterEmptyNodes.xsl the XSL that filters empty nodes on streamable mode Don Bosco Antony, 2017-12-07 11:09
Input.png (37.7 KB) Input.png Don Bosco Antony, 2017-12-07 11:14
Expected Output.png (28 KB) Expected Output.png Don Bosco Antony, 2017-12-07 11:14

Please register to edit this issue

Also available in: Atom PDF