You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Clas Persson <cl...@dsv.su.se> on 2002/03/04 16:19:09 UTC

Transforming large documents

Hi!
I need to transform a large document (200Mb+).
The structure looks like this:

<root>
   <object>
       <id>111111112222</id>
       <sex>2</sex>
       <diagLoc>018000</diagLoc>
       <repHosp>10013 </repHosp>
       <repClin>241</repClin>
	 ... to a total of 35 different elements
	 ...
     </object>
	...
</root>

There are almost 200 000 objects.
I need to change the name of the root element and select some of the 35
elements out of the document. Do I have to write a parser to split it up or
is there a way to solve it just using XSLT?
What's the best approach?
/Clas