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]

Re: Move a section in XSL



Hello,
 
I think those who can answer your question need more information. I assume that just using a text editor is not what you have in mind.
 
DOM? SAX? XSLT? Some specific program?
 
Joel Rees
============================XML as Best Solution===
Joel Rees                          リース ジョエル
Media Fusion Co.,Ltd.  株式会社メディアフュージョン
Amagasaki  TEL 81-6-6415-2560    FAX 81-6-6415-2556
    Tokyo TEL 81-3-3516-2566   FAX 81-3-3516-2567
                       http://www.mediafusion.co.jp  
---------------------------------------------------
                                         Programmer
===================================================
----- Original Message -----
Sent: Thursday, May 31, 2001 12:10 PM
Subject: 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