OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   XSL question

[ Lists Home | Date Index | Thread Index ]
  • From: "Bruce Snyder" <bsnyder@pengroup.com>
  • To: xml-dev <xml-dev@xml.org>
  • Date: Wed, 21 Jun 2000 12:43:27 -0600

I'd like to test the existance of tags in an XML doc when processing it
with XSLT. Here is some conventional code for what I'm trying to
accomplish:

$tagname = "<lastname>";
if($tagname)
{
   ... process the tag's contents here ...
}
else
{
   ...more processing here ...
}


Any assistance is much appreciated. 

Bruce Snyder

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS