xsl-list
[Top] [All Lists]

Re: [xsl] node test on element of an attribute

2006-08-31 09:31:15

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>