[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Update re: Outputting a DOCTYPE
The code's wrong: there's no "wml" output method, and the "xml-declaration" has been renamed "omit-xml-declaration". Even if it were right, it wouldn't work in the current version of XT. From http://www.jclark.com/xml/xt.html: The xml output method ignores the encoding, doctype-system, doctype-public, omit-xml-declaration, standalone and cdata-section-elements attributes on xsl:output. Dylan Walsh wrote: > > I've dowloaded the new version of XT, and tried this code: > > <?xml version="1.0"?> > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <xsl:output method="wml" > indent="yes" > xml-declaration="yes" > doctype-system ="http://www.wapforum.org/DTD/wml_1.1.xml" > doctype-public="-//WAPFORUM//DTD WML 1.1//EN"/> > <xsl:strip-space elements="*"/> > <!-- Body of stylesheet here --> > </xsl:stylesheet> > > But all it outputs is a document beginning with the root element <wml> > and the body. There is no DOCTYPE tag. Is this a bug in XT, or is the > above code wrong? > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|