xsl-list
[Top] [All Lists]

Re: XPath / NOT NULL

2006-02-17 15:03:12
Great!!!

That's what i was looking for! ;) -  Thanks!

Have a good Weekend!

Dariusz





xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com schrieb am 17.02.06 22:52:09:

Hi,

I am trying to get all Strings within an xml where String
!= NULL.

for example this XPath:

//office:body/office:text/text:p

Now, I would like to receive all text:p elements, which
are not NULL.

How can I do this?

Thanks,
Dariusz

I would think ...

//text:p[text()!='NULL']

or if you wanted it to be case insensitive:

//text:p[translate(text(),'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmn
opqrstuvwxyz')!='null']

hth

s. isaac dealey     434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


--~------------------------------------------------------------------
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>
--~--



______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>