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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
Hi All,
Iam using Message designer to create xgm map. I have written an xslt that is linked to the xgm map. In the output xml ,Iam not getting the xml declaration even though I have set the omit-xml-declaration option to 'no'. below is the stmt Iam using
<xsl:output method="xml" version="1.0"
encoding="UTF-8" indent="yes" omit-xml-declaration="no"/>
Please help.
Thanks
Sheema
Hi Sam,
Thanks for the reply.
how to know about the xslt processor. The Message Designer tool has an option to link the xslt to an xgm map. Iam simply using it. I have no idea about xslt processor.
Is there any way to know/ specify it ourselves?
If xsl:output appears to have no effect, the reason is often that the XML output isn't being serialized by the XSLT processor, but by some other piece of software (for example, the DOM serializer). We need to know more about your processing environment. I'm afraid "Message designer" and "xgm" aren't terms that ring any bells.
Michael Kay http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference