[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Update re: Outputting a DOCTYPE

Subject: Re: Update re: Outputting a DOCTYPE
From: James Clark <jjc@xxxxxxxxxx>
Date: Mon, 11 Oct 1999 19:03:31 +0700
xml doctype update
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.