Re: [xsl] Adding Missing Element

Subject: Re: [xsl] Adding Missing Element
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 23 Jan 2008 22:58:38 GMT
identity template (see recent thread) , then

<xsl:template match="A[not(B}]">
<xsl:copy>
<xsl:copy-of select="@*"/>
<B>zzzz</B>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread