Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: AW: [xsl] use preceding element or self


Subject: Re: AW: [xsl] use preceding element or self
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 29 Apr 2005 10:06:08 +0100

> Actually I need to check first if the par[@class='Komm_H3'] in my
> current <Norm1> has a string right at the beginning of the node(),  

That's what the code I posted did:
   [@class='Komm_H3'])[text()[1][normalize-space()]
which reads has a class attribute eqial to 'Komm_H3' and the first text
node is a non-white string.

My question was whether you needed to check that it was uppercase, or
whether you know from the context whether it's uppercase, and whether in
the case that had a comma you just wanted the bit before the comma or
the wwole text node.

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
________________________________________________________________________


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor