|
Subject: [xsl] Dynamic DTD declaration in output From: "Trevor Nicholls trevor@xxxxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 15 May 2019 05:44:45 -0000 |
Hi
I've got a simple stylesheet which is executed as a pre-process when XML
documents are loaded into FrameMaker. At the moment the stylesheet includes
the line
<xsl:output doctype-system="/path/to/docs.dtd" method="xml"
encoding="UTF-8" />
Because this stylesheet will be used by different users in several different
contexts, it would be brilliant if the path to the DTD could be
parameterised. I know the following is invalid but the purpose of this post
is to ask if there is any way of engineering an equivalent:
<xsl:param name="DefaultDTDPath" />
<xsl:output doctype-system="{$DefaultDTDPath}" method="xml"
encoding="UTF-8" />
XSL version has to be 1.0 or 2.0.
Thanks
T
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] What is the most efficien, Mukul Gandhi gandhi. | Thread | Re: [xsl] Dynamic DTD declaration i, Mukul Gandhi gandhi. |
| Re: [xsl] Breaking paragraphs one l, Michael Kay mike@xxx | Date | Re: [xsl] Dynamic DTD declaration i, Mukul Gandhi gandhi. |
| Month |