from top of my head, I think to be able to reuse an XML document in-memory for another transformation would require you to use an API (for e.g, http://xml.apache.org/xalan-j/apidocs/javax/xml/transform/Source.html).
On Fri, Mar 2, 2012 at 3:08 PM, santosh365 <smpilla...@yahoo.com> wrote: > > Hi, > > I am a newbie to xalan. Is there any way to combine the two commands below > so that the large XML file UTRAN_TOPOLOGY.xml does not have to be loaded > into memory twice? > > java -Xms1500m -Xmx1500m -cp C:\xalan\xalan.jar > org.apache.xalan.xslt.Process -in C:\xalan\UTRAN_TOPOLOGY.xml -xsl > C:\xalan\UtranCell.xslt -out C:\xalan\UtranCell.txt > > java -Xms1500m -Xmx1500m -cp C:\xalan\xalan.jar > org.apache.xalan.xslt.Process -in C:\xalan\UTRAN_TOPOLOGY.xml -xsl > C:\xalan\UtranIubLink.xslt -out C:\xalan\UtranIubLink.txt > > Thanks > -- > View this message in context: > http://old.nabble.com/Xalan-Command-tp33427080p33427080.html > Sent from the Xalan - J - Users mailing list archive at Nabble.com. > -- Regards, Mukul Gandhi