[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] RE: A simple solution (Was: Re: One for tomorrow :-) )
Subject: Re: [xsl] RE: A simple solution (Was: Re: One for tomorrow :-) ) From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 4 Jul 2001 11:56:05 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] RE: A simple solution (Wa, Daniel Newman | Thread | RE: [xsl] RE: A simple solution (Wa, Daniel Newman |
Re: [xsl] converting old <a> .css p, roger . day | Date | Re: [xsl] converting old <a> .css p, David Carlisle |
Month |