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

Re: RE: DTD within an XML document

Subject: Re: RE: DTD within an XML document
From: "Bix" <bix_xslt@xxxxxxxxxxx>
Date: Mon, 7 Apr 2003 10:38:38 -0500
dtd within xml
Alessandro,

You could use something like this:
&lt;DOCTYPE <xsl:value-of select="$topDocumentNode"/> SYSTEM [
<xsl:apply-templates/> ]&gt;

You would need to setup the topDocumentNode variable and then add support
templates for the different elements.  Without knowing what you are trying
to transform from, however, it is difficult to provide a working solution.

bix


----- Original Message -----
From: "Alessandro di Bella" <adibella@xxxxxxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, April 07, 2003 10:17 AM
Subject:  RE: DTD within an XML document


>
> Hi,
> I've been trying to find a solution to this for the last two days so I
would
> really appreciate if someone could give me some help. The problem is
simple:
> I need to write a stylesheet that outputs something like:
>
> <!DOCTYPE test SYSTEM [
>    ...entities definition...
> ]>
>
> I know it is possible to specify a DTD with the entities in it using
> <xsl:output.../> for a list of long reasons I need to do as described
above.
>
> Any ideas?
>
> Thanks
>
> Alessandro
>
>
>  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.