Hi We are trying to generate a XML file dynamically after querying the database. For this we are first creating the tree structure then using XMLSerializer we generating the XML file. But when we try to link a xsl sheet using createProcessingInstruction , the instruction is not getting included. But the XML file is getting generated without any error . Is there any other way of doing this ? What should be given as target? Document doc = (Document)Class.forName("org.apache.xerces.dom.DocumentImpl").newInstance(); doc.createProcessingInstruction("xml-stylesheet"," type=\"text/xsl\" href=\"http://localhost:8080/examples/jsp/XMLProject/quiz1_xsl.xsl\""); Regards JayashreeReceived on Friday, 22 June 2001 14:13:03 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:48 GMT