[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: :How to check if a child excists
<xsl:for-each select="child::katern"> or <xsl:for-each select="child::*[local-name()='katern']"> > On Fri, 1 Aug 2003, Armand Datema wrote: > >> Hi >> >> I have the following: >> >> <xsl:for each select="katern"> >> >> This can have one or more <article> >> >> >> Now sometimes the xml is generated without an aricle in it how can I >> check this > > <xsl:if test="article"> > >> >> Armand >> >> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list >> >> > > > **************************************************************** > Jarkko Moilanen "The box said that is needs > Researcher Windows 95 or better... So I > jm60697@xxxxxx installed Linux." > www.uta.fi/~jm60697 > GSM: +358 50 3766 927 > **************************************************************** > * ITCM | Information Technology and Crisis Management > * http://www.itcm.org > **************************************************************** > > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > 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
|