This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Move a section in XSL


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]