[XSL-LIST Mailing List Archive Home]
[xsl] Re: Move a section in XSL
Subject: [xsl] Re: Move a section in XSL|
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Thu, 31 May 2001 11:57:14 +0100
> I have an XML file like this:
Unfortunately, the "XML file" that you quote isn't a well-formed XML
document (it has two document elements, elements that occur at the top
level) and nor is it a well-formed external entity (it has a DOCTYPE
declaration, which you can only have in an XML document).
That means that it's impossible to process it with XML tools,
including XSLT, which require well-formed XML documents. You'll have
to use something that isn't inherently XML-aware, like Perl or Java or
something to edit the file on a physical, textual level.
Sorry that I can't be more help,
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list