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

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

Subject: RE: how do I generate a reference to a DTD?
From: "Patrick, Curtis W" <curtis.patrick@xxxxxxx>
Date: Tue, 7 Nov 2000 08:49:54 -0600
curtis patrick
I was hoping you could share you success.  I'm having some sort of mental
block on this and I can't get XSL to produce the DOCTYPE line.  I'm using
the Apache Xalan processor, but the OUTPUT command should be the same.

Thanks very much,

Curtis Patrick
E.Solutions 
Interactive Architects, Plano-B
EDS
(972) 797-4959
mailto:curtis.patrick@xxxxxxx
http:\\www.eds.com



-----Original Message-----
From: hudgins, tom [mailto:hudgins_tom@xxxxxxx]
Sent: Wednesday, September 06, 2000 8:41 AM
To: 'xsl-list@xxxxxxxxxxxxxxxx'
Subject: RE: how do I generate a reference to a DTD?


Got it! Thanks *very* much.

Tom 

-----Original Message-----
From: Mike Brown [mailto:mike@xxxxxxxx]
Sent: Tuesday, September 05, 2000 7:26 PM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: Re: how do I generate a reference to a DTD?


hudgins, tom wrote:
> 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"> 


You do not construct the document type declaration in the result tree in
XSLT; you tell the XSLT processor that you would like it to emit it when
it serializes the result tree. All you have to do is add some attributes
to xsl:output. Consult the Output section of the XSLT spec for details
(don't worry, this section is pretty easily grokked)

http://www.w3.org/TR/xslt#output


 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.