Having a problem with external XML references.
For example, if the following template is in an XSL file...
<xsl:template name="mainlogo">
<xsl:for-each select="document('file:/some/dir/global.xml')/global/logo">
<!-- form IMG html directive -->
</xsl:for-each>
</xsl:template>
If this is passed through sabcmd (Sablot-0.50/expat-1.95.1) I get the
following message...
Error [code:2] [URI:file:/some/dir/global.xml] [line:100] [node:element
'<xsl:for-each>']
XML parser error 7: mismatched tag
*** Error code 1
The node "/global/logo" does exist in the global.xml file, the file is in
the same directory that the command was run.
This XSL snippet is based apon the leftbar.xsl, top.xsl & head.xsl examples
from the Ginger Alliance web site.
--
Stephen.