[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Check if a node-set exists
> From: Vivek Shinde [mailto:Vivek.Shinde@xxxxxxx] > Sent: Thursday, July 10, 2003 9:09 AM > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx > Subject: Check if a node-set exists > > > Hi, > Is there a statement in XSL that I can use to check if a > certain node-set exists in a XML document? You mean something like this? <xsl:if test="/document/some-node"> This will return false if the XPath expression doesn't evaluate to a node-set. But this is very, very basic, so I'm wondering if there's another part to your question . . . cheers, b. | brian martinez brian.martinez@xxxxxxxxxxx | | lead gui programmer 303.357.3548 | | cheap tickets, part of trip network fax 303.357.3380 | | 6560 greenwood plaza blvd., suite 400 englewood, co 80111 | | cendant travel distribution services http://www.cheaptickets.com/ | XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|