Hi
Is there a way...to put a var in style sheet and then define it on
parsing?
I would like to pars XSL and give it a different output by defining
different @name.
Example:
<xsl:template match="manual/chapter[(_at_)name=chapter1']"> --> chpater1.html
<xsl:template match="manual/chapter[(_at_)name=chapter2']"> --> chpater2.html
The XSL would stay the same...it would only pars different XML tag, a
tag that is defined by @name.
So is there a way to define this on pars job when defining -in, -xsl and
-out attributes...since this way...I wouldn't need to copy n number of
XSL files for n number of output HTML files.
I am using Apache Xalan.
And if I totally missed in thinking how to do it...please advise how
could this problem be solved any other way.
Regards, Vojko.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--