This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Move a section in XSL
- To: Thushara Perera <thusharap at eurocenter dot lk>
- Subject: [xsl] Re: Move a section in XSL
- From: Jeni Tennison <mail at jenitennison dot com>
- Date: Thu, 31 May 2001 11:57:14 +0100
- CC: "XSL News Group (E-mail)" <XSL-List at lists dot mulberrytech dot com>
- Organization: Jeni Tennison Consulting Ltd
- References: <711677989624D411B81E0030050162553672B9@eccolcom01.colombo.eurocenter.lk>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Thushara,
> 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,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list