[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Sorting network addresses

Subject: RE: Sorting network addresses
From: "Jim Neff" <jneff@xxxxxxxxxxxxxxx>
Date: Wed, 2 Mar 2005 09:10:00 -0500
RE:  Sorting network addresses
I'm using version two and I got the correct output (each network address
once).  Maybe something wrong with XMLSpy's parser?  I'm using Saxon 8.1.

--Jim Neff 

> -----Original Message-----
> From: Craig W [mailto:codecraig@xxxxxxxxx] 
> Sent: Wednesday, March 02, 2005 9:12 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Sorting network addresses
> 
> well, i changed the xslt version from 2.0 to 1.0 and i get 
> the correct output....i wonder why?  FYI, XMLSpy be default 
> uses its own XSLT engine (for either 1.0 or 2.0), or you can 
> specify that it uses Microsoft's XML parser, or you can have 
> it use some other XSL transformation program that you specify.
> 
> Anyway, thanks for the help....it would still be nice to know 
> why version 2.0 is acting differently.
> 
> -Craig
> 
> 
> On Wed, 2 Mar 2005 14:05:20 GMT, David Carlisle 
> <davidc@xxxxxxxxx> wrote:
> > 
> > 
> > > ....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
> > 
> ______________________________________________________________________
> > __
> > 
> > 
> 
> 
> -- 
> 
> http://www.codecraig.com
> http://jroller.com/page/codecraig

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.