XSLTGeneral questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Hi we have many xml file as input and we processed each one by one.Now for each xml we need to find root element and based on this we need to take decision how to process that xml accordingly.
Before this we are using DocumentBuilder's parse method to get Document object and then using getDocumentElement() of Document object to get root element .Now we find that when file is large then it throws out of memory error ?
So we need to find out that is it possible through xslt ? or we need to apply code that will parse whole xml and find root element ?