Subject: Re: [xsl] node test on element of an attribute From: Georges Schmitz <georges.schmitz@xxxxxxxxx> Date: Fri, 01 Sep 2006 09:47:51 +0200 |
Must have been a typo or other mistake by me. Of course it works.I hoped to be able to treat this in one template match for @vo-name, something likeyou can test
<xsl:if test="parent::entity" > ...
Yes, this a possible solution too, but then I had to duplicate a lot of other code. So xsl:choose was the better approach for me.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">...
Thanks, Georges
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] function for getting file, cknell | Thread | Re: [xsl] node test on element of a, Georges Schmitz |
Re: [xsl] function for getting file, Colin Paul Adams | Date | Re: [xsl] node test on element of a, Georges Schmitz |
Month |