[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Move a section in XSL
- From: Thushara Perera <thusharap@eurocenter.lk>
- To: "XSL News Group (E-mail)" <XSL-List@lists.mulberrytech.com>,"XML-DEV (E-mail)" <xml-dev@lists.xml.org>
- Date: Thu, 31 May 2001 09:10:38 +0600
Hi
I have an XML file
like this:
<?xml
version="1.0" standalone="no"?>
<!DOCTYPE ARTICLE SYSTEM
"ARTICLE.DTD">
<SUPPLIER>
<COMPANYID
QUALIFIER="TRA">12345</COMPANYID>
<COMPANYNAME>Test Company</COMPANYNAME>
</SUPPLIER>
<ARTICLE xml:lang="en">
<ARTICLEID
QUALIFIER="mk">1234</ARTICLEID>
<MANUFACTURER>
<COMPANYID
QUALIFIER="TRA">67890</COMPANYID>
<COMPANYNAME>Test Company</COMPANYNAME>
</MANUFACTURER>
<ARTICLENAME xml:lang="en">Article
name</ARTICLENAME>
<ARTICLENAME xml:lang="no">Article
navn</ARTICLENAME>
<MANUFACTURERARTICLENAME>Producents
article navn</MANUFACTURERARTICLENAME>
<EXTRAIDLIST>
<ARTICLEID
QUALIFIER="ab">2345</ARTICLEID>
<ARTICLEID
QUALIFIER="ac">4567</ARTICLEID>
<ARTICLEID
QUALIFIER="ad">6789</ARTICLEID>
</EXTRAIDLIST>
<REPLACEDARTICLEID
QUALIFIER="mk">2345</REPLACEDARTICLEID>
...
...
..
I want to move
the SUPPLIER section into the ARTICLE section and leave the rest as it is.
Please tell me how to do this ?
Thanks a
lot
Thushara