[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] node test on element of an attribute
Subject: Re: [xsl] 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
|