[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] xsl:output method="xml"


Subject: [xsl] xsl:output method="xml"
From: "Frank J. Buono" <Frank.Buono@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Jul 2003 10:02:07 -0400

I've seen a lot of examples of outputing in HTML; however,
I'd like to sort on "value" and output in XML - see input and
desired output XML below.

Can anybody help with what my stylesheet should look like?

Thanks.

Frank
p.s., I'll be doing this within java code.

****Input:
<ROWSET>
   <ROW rownum="1">
      <value>3</value>
   </ROW>
   <ROW rownum="2">
      <value>1</value>
   </ROW>
   <ROW rownum="3">
      <value>2</value>
   </ROW>
</ROWSET>

*****Output:
<ROWSET>
   <ROW rownum="1">
      <value>1</value>
   </ROW>
   <ROW rownum="2">
      <value>2</value>
   </ROW>
   <ROW rownum="3">
      <value>3</value>
   </ROW>
</ROWSET>


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



Current Thread
Keywords
xml