This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: variable dtd path
- To: xsl-list at mulberrytech dot com
- Subject: Re: variable dtd path
- From: "xsl list" <xsl_list at hotmail dot com>
- Date: Wed, 28 Jun 2000 12:06:13 EDT
- Reply-To: xsl-list at mulberrytech dot com
>From: Warren Hedley <w.hedley@auckland.ac.nz>
>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"><!DOCTYPE tldoc SYSTEM
>"</xsl;text>
><xsl:value-of select="$DTD_PATH" />
><xsl:text disable-output-escaping="yes">/tldoc.dtd"></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