W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2001

XML & CreateProcessingInstruction

From: Jayashree Krishnamoorthy <jayashree.krish@mphasis.com>
Date: Fri, 22 Jun 2001 08:36:25 -0400 (EDT)
Message-ID: <001f01c0fb17$ad40d260$561fa19b@ne.telecom.fedex.com>
To: <www-dom@w3.org>

         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 =
    doc.createProcessingInstruction("xml-stylesheet"," type=\"text/xsl\"

Received on Friday, 22 June 2001 14:13:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:08 UTC