xsl-list
[Top] [All Lists]

xsl:output method="xml"

2003-07-30 07:02:07

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



<Prev in Thread] Current Thread [Next in Thread>