This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: how do I generate a reference to a DTD?


Try this!

<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>

/Håkan


>From: "hudgins, tom" <hudgins_tom@emc.com>
>Reply-To: xsl-list@mulberrytech.com
>To: "'xsl-list@mulberrytech.com'" <xsl-list@mulberrytech.com>
>Subject: how do I generate a reference to a DTD?
>Date: Tue, 5 Sep 2000 13:52:36 -0400
>
>Hello,
>
>I'm trying to use XSLT (msxml3) to generate a wml file. I need to output a
>line like this
>
><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
>"http://www.wapforum.org/DTD/wml_1.1.xml">
>
>I can't get generate this "element"? (actually, I'm confused about what 
>this
>thing "is" - it's not a real element - is it an entity reference?) Anyway,
>I've poked around the archive and FAQ and have found references to this
>being "difficult" but haven't found a solution.
>
>Can someone explain how this is done? I've tried outputing literal text 
>with
>&lt and variations but I either get a not well-formed style sheet or &lt's
>in the output.
>
>Thanks for any help,
>
>Tom
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]