I'm using the following command:
java net.sf.saxon.Transform -o foo.html foo.xml foo.xsl
where foo.xml is of the form:
<!DOCTYPE foo SYSTEM "foo.dtd">
However, it seems like Saxon does not understand the xi:include command, and so I'm unable to refer in foo.xsl to xml elements in bar.xml from the root of foo.xml. I'm new to XInclude though I've been using Saxon for a while. Can someone tell me how I can get this to work?
First, sorry for not responding earlier. I don't get notified of messages on this forum. The forum seems to have recently reappeared with changes to the Sourceforge GUI, and I hadn't noticed it.
Saxon has no built-in XInclude support. However, it's possible to get an XInclude processor that works as a SAX filter which you can insert between the XML parser and Saxon. Details depend on how you are running the transformation.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.