Trevor Nicholls wrote:
For reasons that are probably obvious to anyone familiar with a popular
document editing application, I have to use Xalan as my XSL processor, and I
am making use of the <xalan:write> extension to output the subdocuments.
[...]
Now when I save the super-document everything is created as required, EXCEPT
that the lookup XML file contains a reference to the same DTD as the
individual document files, i.e. it includes the line:
<!DOCTYPE doctree SYSTEM "path_to_dtd">
I remember looking for the answer to the same question when exporting a
FrameMaker document into individual XML topic files along with an XML
map hierarchy of said topics. And I came up with the same answer:
xalan:write doesn't appear to let you specify the doctype.
Needless to say, there are plenty of solutions in the XSLT 2.0 world,
but that's going to require an extra, manual, step after saving the
document as a single XML über-document. My experience with FrameMaker
is that unless you use some paid-for plugin or the FDK you are stuck
with it.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--