Subject: Re: [xsl] Newbie Question: Creating Error Description from Invalid Input From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 13 Oct 2006 13:01:15 -0400 |
If there is a XPath expression to match elements by whether they have any text
content or not which would be better:
<xsl:template match="header"> <header> <xsl:apply-templates select="all address* children with content" /> </header> <xsl:if test="count(all address* children without content) > 0"> <errorDescription> <xsl:value-of select="all address* children without content" /> </errorDescription> </xsl:if> </xsl:template>
Any ideas if such an XPath exists?
Cheers, Wendell
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Newbie Question: Creating, Richard Lewis | Thread | RE: [xsl] Newbie Question: Creating, Michael Kay |
RE: [xsl] XSL and XML Help, Wendell Piez | Date | RE: [xsl] short and long empty xml , Michael Kay |
Month |