Subject: Re: [xsl] Updating Attribute Values From: Martin Holmes <mholmes@xxxxxxx> Date: Thu, 15 Aug 2013 08:07:03 -0700 |
Cheers, Martin
I'd like to change the values of attribute "href", whenever it appears inside a "dao" element. From what I can tell, my template is correct, however when ever I stick anything inside xsl:attribute (replace <!-- do stuff here -->, nothing happens during the transformation. Am I missing something?
<xsl:template match="@href[parent::dao]"> <xsl:attribute name="href"> <!-- do stuff here --> </xsl:attribute> </xsl:template>
I'm using XSLT 2.0, Saxon 6.5.5.
Thanks, Nathan
.
-- Martin Holmes University of Victoria Humanities Computing and Media Centre (mholmes@xxxxxxx)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Updating Attribute Values, G. Ken Holman | Thread | Re: [xsl] Updating Attribute Values, David Carlisle |
Re: [xsl] Updating Attribute Values, G. Ken Holman | Date | Re: [xsl] Updating Attribute Values, David Carlisle |
Month |