This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: variable dtd path


>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">&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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]