xsl-list
[Top] [All Lists]

Re: Sorting network addresses

2005-03-02 07:05:20




....now do u get what i get?
no I get:


$ saxon ip2.xml ip2.xsl
<?xml version="1.0" encoding="UTF-8"?>
<networks>
<network>
<address>1.1.1.1</address>
</network>
<network>
<address>2.3.1.2</address>
</network>
<network>
<address>170.5.2.4</address>
</network>
</networks>

But I just noticed that you are specifying XSLT2 (although you don't have
any xslt2 specific features) so I'll try with saxon8:

I get same:

$ java -jar ../saxon8/saxon8.jar  ip2.xml ip2.xsl
<?xml version="1.0" encoding="UTF-8"?>
<networks>
<network>
<address>1.1.1.1</address>
</network>
<network>
<address>2.3.1.2</address>
</network>
<network>
<address>170.5.2.4</address>
</network>
</networks>

To repeat how I did it,
open the XML document, go to the "XSL/XQuery"

sorry that would mean downloading xmlspy first which is too much:-)

What processor does it use for XSLT2 ?

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--