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

Generating variable DOCTYPE

Subject: Generating variable DOCTYPE
From: Cams Ismael <Ismael.Cams@xxxxxxxxxxxxxxx>
Date: Thu, 16 Jan 2003 09:35:08 +0100
generating doctype in xsl
Hello,

I am trying to transform an xml file into another xml file by means of a
stylesheet. This stylesheet takes as input parameter the location of the DTD
belonging to the generated xml file. What I would like to do is:

	<xsl:param name="DTDLocation"/>
	<xsl:output method="xml" encoding="UTF-8"
doctype-system="{$DTDLocation}"/>

This is possible in XSLT 1.1, but not in XSLT 1.0. Another way is to write
an extension function that writes the DOCTYPE to the output. However I
prefer a solution in XSLT 1.0 (if I am correct XSLT 1.1 became never a
Recommendation) and without extension functions. Is this possible somehow ?

Thanks in advance.

Kind regards,
Ismaël





 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.