OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Move a section in XSL



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