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

RE: Deja Vu all over again, or, Re: Update re: Outputting a

Subject: RE: Deja Vu all over again, or, Re: Update re: Outputting a DOCTYPE
From: Dylan Walsh <Dylan.Walsh@xxxxxx>
Date: Tue, 12 Oct 1999 08:51:58 +0100
deja walsh
Date: Mon, 11 Oct 1999 15:15:10 +0200
From: "White, David" <David.White@xxxxxx>
Subject: Deja Vu all over again, or, Re: Update re: Outputting a DOCTYPE

> <xsl:template match="/">
> <xsl:processing-instruction
> name='xml'>version="1.0"</xsl:processing-instruction>
> <xsl:text disable-output-escaping="yes"><![CDATA[
> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
> "http://www.wapforum.org/DTD/wml_1.1.xml">]]>
> </xsl:text><wml>
>	<xsl:apply-templates/>
> </wml>
>	</xsl:template>

> I hope the next version of XT supports xsl:output. I find the above
> extremely inelegant.

> Dave

So do I. I haven't tried yours, so I can't say whether it still works
with XT, but this:

    <xsl:text disable-output-escaping="yes">&lt;?xml
version="1.0"?></xsl:text>
    <xsl:text disable-output-escaping="yes">&lt;!DOCTYPE wml PUBLIC
"-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml"></xsl:text>

does work. I got that from someone on the comp.text.xml newsgroup. Thank
you for your reply, though, you been more helpful than most. 
Maybe this should go into a FAQ, as the info out there comprises the W3C
spec, which isn't great for learning XML, and tutorials, which are
geared towards HTML output?


 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.