I want to generate an xml file, with namespace references, like:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE serial-issue PUBLIC "-//ES//DTD serials issue DTD
version 5.1.0//EN//XML" "si510.dtd">
<serial-issue>
<issue-info>
<ce:pii>S9999-9994(04)X0057-X</ce:pii>
...
</issue-info>
...
</serial-issue>
You mean, you want to generate XML that isn't namespace-well-formed (because
it contains undeclared prefixes)?
XSLT can't do that.
Try generating the element names as <ce_pii> and then modifying the
serialized result with some language (e.g. Perl) that doesn't know it's
dealing with XML.
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
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>
--~--