Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] applying templates to attribute value

From: Florent Georges <lists@------------>
To:
Date: 7/2/2008 4:48:00 PM
David Carlisle wrote:

  Hi,

>>   <xsl:template match="@*">
>>      <xsl:apply-templates/>
>>   </xsl:template>

>>   If you apply templates to an attribute, you get its value (by
>> default).

> oh yes, i see what you mean. you get nothing there, you need
> select="."
> just as you would with value-of.

  I didn't followed the thread carefully, but if you mean:

    <xsl:template match="@*">
       <xsl:apply-templates select="."/>
    </xsl:template>

that template rule will be applied recursively for ever, won't it?

  Regards,

--drkm
























      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent