document function pathing
Brought to you by:
iblacky
In my XSL sheet, I use the document function to start
processing another XML file. According to what I have
read, if you use
<xsl:apply-templates
select="document('d:\equipment.xml')" />
The path the function uses should be relative to the
style sheet used.
If you use
<xsl:apply-templates
select="document('d:\equipment.xml'), /" />
then the path should be relative to the source XML (the
original input XML).
Neither of these work properly in Pyana. When I run
Xalan C from the command line, it works fine.
Logged In: NO
Work around: calculate path in Python and pass as a
parameter to XSL.
Logged In: YES
user_id=108973
I can't believe that I am just getting this bug report now.
I'll look into it.