Re: [xsl] XPath / NOT NULL

Subject: Re: [xsl] XPath / NOT NULL
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 17 Feb 2006 16:43:58 -0500
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@xxxxxxxxxxxxxxxx
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
======================================================================

Current Thread