[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: node test on element of an attribute
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 31 Aug 2006 17:10:39 +0100
> I hoped to be able to treat this in one template match for @vo-name, 
> something like
you can test
<xsl:if test="parent::entity" > ...

but if a template just consists of a choose testing the parent its
normally clearer to have two templates

match="entity/@vo-name">....

match="property/@vo-name">...

David

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member