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

RE: RE: A simple solution (Was: Re: One for tomorrow :

Subject: RE: RE: A simple solution (Was: Re: One for tomorrow :-) )
From: "Daniel Newman" <daniel.newman@xxxxxxxxxxx>
Date: Wed, 4 Jul 2001 12:21:14 +0100
daniel newman
So why isn't it working for me?

How can following-sibling::*[not(substring(.,string-length(.))=',')][4] not
return just the forth node, but all nodes?

I'm confused :-(

And I just love those font tags. I even use upper case HTML tags!!! hah hah.
If I removed my font tags, I'd have to use that terribly unreliable css :-)
There are users out there still using Netscape you know.

Cheers David,

Daniel

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of David
Carlisle
Sent: 04 July 2001 11:56
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  RE: A simple solution (Was: Re: One for tomorrow :-)
)


  I'm using
  <xsl:value-of

select="following-sibling::*[not(substring(.,string-length(.))=',')][positio
  n()=4]" />

  To hopefully retrieve 12 POINT STREET,


[position()=4] (or equivalently [4]) would select the 4th node that was
in the list generated by
following-sibling::*[not(substring(.,string-length(.))=',')]
ie the 4th sibling (just counting those not ending with a comma)

(by the way are you sure you really want to polute your generated HTML
with all those <font> elements, they are deprecated in HTML4 and XHTML)


David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


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


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.