Click to See Complete Forum and Search --> : Xsl


sandhya_85
01-10-2008, 03:25 AM
Hi,
I have a very huge XML whose size is around 10MB. I need to pick-up certain fields from this XML and form a text file of some predefined format. Currently i am using XSL to do the transformation. This transformation becomes very complex when I have to too many nodes having too many dependencies or relations with other nodes within the XML. I want to know if there is any other way by which i can achieve the tranformation. If so plz help me with that.
Thanks in advance
Sandhya

jkmyoung
01-11-2008, 01:44 PM
When you use XSL, although it is better structured, you pay for the overhead of setting up the DOM structure.

Possible solutions include:
Loading the XML into a DB and using SQL to do the queries.
Breaking the XML file into smaller files.
Using a forward only xml parsing tool to grab fields as oppose to using xslt, eg Xerces

What do you mean by dependencies and relations in the XML? Can you abstract a small example?