xsl-list
[Top] [All Lists]

Re: XPath / NOT NULL

2006-02-17 14:43:58
Dariusz,

As stated, your question has no answer as the concept of NULL is not defined in XSLT.

If you tell us which of these you consider NULL, we can help:

a) <text:p/>

b) <text:p>   </text:p>

c) <text:p><!-- comment --></text:p>

d) <text:p><text:s text:c="3"/></text:p>

Cheers,
Wendell

At 04:08 PM 2/17/2006, you wrote:
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?


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


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