Re: [xsl] RE: DTD within an XML document

Subject: Re: [xsl] RE: DTD within an XML document
From: "Bix" <bix_xslt@xxxxxxxxxxx>
Date: Mon, 7 Apr 2003 10:38:38 -0500
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: [xsl] 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