[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
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"><?xml version="1.0"?></xsl:text> <xsl:text disable-output-escaping="yes"><!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
|
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
|