XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Chong AlanSubject: Check for existence of a node
Author: Chong Alan
Date: 26 Jan 2005 04:25 PM
Hi! I am wondering is it possible to check an existence of a node in XSLT.

For example:
<RED>
.....
</RED>
<WHITE>
......
</WHITE>
....
what I want to do is. Check that if <RED> exist draw a Table for <RED>,
if not, then check for <WHITE>, and so on..

is it possible in XSLT??

thanks a lot.

Posttop
Tony LavinioSubject: Check for existence of a node
Author: Tony Lavinio
Date: 28 Jan 2005 08:35 PM
Originally Posted: 28 Jan 2005 08:36 PM
This was answered on the XSL-LIST some time ago. See:

http://www.stylusstudio.com/xsllist/200303/post70720.html

Hope this helps.

Often, you can find answers like this just by typing your
question into Google. I typed "how do i check for existence
of a node in xslt" and got this as the first hit.

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.