Re: variable dtd path

Subject: Re: variable dtd path
From: "xsl list" <xsl_list@xxxxxxxxxxx>
Date: Wed, 28 Jun 2000 12:06:13 EDT
From: Warren Hedley <w.hedley@xxxxxxxxxxxxxx>
Yasser El-Zein wrote:
>
> This does not work:
> <!DOCTYPE tldoc SYSTYM "{$DTD_PATH}/tldoc.dtd"/>
So you have to result to a hack:
<xsl:text disable-output-escaping="yes">&lt;!DOCTYPE tldoc SYSTEM "</xsl;text>
<xsl:value-of select="$DTD_PATH" />
<xsl:text disable-output-escaping="yes">/tldoc.dtd"&gt;</xsl:text>


I need to validate the xml, hence, am adding the <!DOCTYPE ... > to all my xml files and ruuning xalan as such:
xalan -in file.xml -validate
Can I make the dtd path variable so I would not have to edit all the files if it changes?
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread