Category: Web

Resolving xinclude for saxon

Saxon seems to have trouble with resolve relative xinclude paths, even with the -xi option turned on.
We can use xmllint resolve the paths first, and then feed the file to saxon and taking advantage of saxon’s extension.
—————————-
xmllint –xinclude input.xml > resolved.xml
saxon -s:resolved -xsl:style.xsl.
—————————-

Advertisements