All,
I'm sure this is a pretty common issue? I need to get a list of all of my
XIncluded files in a document.
I need to package up all of the Docbook files required for a particular
document so I can send them off to the translators. The document is in a
directory with many more Docbook
Hi,
Saxon supports XSL Version 2 as well as base URI fix-up when processing xincude.
So this template will give you a list of file Elements for each included file
when applied to the master document:
xsl:template match=/
xsl:for-each select=distinct-values(for $e in //* return base-uri($e))
Thanks Frank!
Actually, I was looking for a 1.1 version (but I did not state that).
However, someday I will hopefully switch everything to 2.0 when Docbook
fully does.
In a message dated 3/20/2015 2:19:07 A.M. Pacific Daylight Time,
f-stei...@berger-und-steimke.de writes:
Hi,
Saxon
Yes, thanks Ben.
Your comment got me further to a solution. I now have a tool that produces
a listing of all of the xinclude'd files in a master file. This will list
out to the screen and make a file (xfilelist.txt) of all the files.
I have included the files here for anyone else that