XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Posttop
David TaylorSubject: "standalone" attribute and xsl:output
Author: David Taylor
Date: 04 Dec 2009 06:59 PM
I am working on a XML to XML transform that requires the output document to include standalone="yes" on the XML declaration at the top of the file. My understanding is that this is accomplished by setting standalone="yes" on xsl:output. Here is what I am actually using:

<xsl:output method="xml" standalone="yes" indent="yes" encoding="UTF-8" />

This fails to produce the standalone attribute in the output when running under Stylus Studio 2010 using Saxon 9.1.0.5 as the processor. The same XSLT transform running in the target environment with the same version of Saxon works correctly. Anyone know why there is a difference in behavior?

Thanks
David

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.