This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Element Existence
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Element Existence
- From: Rene de Vries <RdVries at PCL-HaGe dot nl>
- Date: Fri, 20 Jul 2001 09:47:10 +0200
- Cc: "'agenis at dtcc dot com'" <agenis at dtcc dot com>
- Organization: PCL HaGé b.v.
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Alex,
Can you give us an example of what you want?
Because you can allways test for existence just by
<xsl:if test="/node1/node2/node3">
/node1/node2/node3 does exist, but maybe zero-length
</xsl:if>
Greetings Rene
{ @ @ }
^
\__/
"You don't need eyes to see, you need vision!"
-----Oorspronkelijk bericht-----
Van: Alex Genis [SMTP:agenis@dtcc.com]
Verzonden: vrijdag 20 juli 2001 9:03
Aan: xsl-list@lists.mulberrytech.com
Onderwerp: [xsl] Element Existence
Hi everybody !
Is it possible to figure out existence of the particular element of the XML
Document regardless on it's value (which might be Null)?
Other words, how can I use "sibling-of" or "child-of" or something in my XSLT ?
What the syntax of using it ?
Thanks in advance. Alex.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list