applying xsl to xml to produce different xml

Subject: applying xsl to xml to produce different xml
From: Clay_Rowland@xxxxxxxxxxx
Date: Thu, 2 Dec 1999 12:07:16 -0500

I would like to apply a stylesheet to an xml doc and produce a new xml doc with
only part of the original xml.

for example:

xml 1:

<library>
     <books>
          <title>title 1</title>
          <title>title 2</title>
     </books>
     <authors>
          <author>author 1</author>
          <author>author 2</author>
     </authors>
</library>


into

xml 2:

<authors>
     <author>author 1</author>
     <author>author 2</author>
</authors>


i would like to return a new xml doc containg only the the node authors and its
children nodes.  i would like to retain the data in its tagged form.

any suggestions?

thanks.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread