[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RE: DTD within an XML document
Alessandro, You could use something like this: <DOCTYPE <xsl:value-of select="$topDocumentNode"/> SYSTEM [ <xsl:apply-templates/> ]> 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
|
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
|