|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Copying nodes
Hi:
I have the following templates for copying nodes and
it's attributes which work OK:
<xsl:template match="/">
<xsl:apply-templates select="/root/categ"/>
</xsl:template>
<xsl:template match="categ|@*">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:copy-of select="*"/>
</xsl:copy>
</xsl:template>
What I'm trying to do is to change the value for a
specific attribute, for that purpose I have created
another template but it doesn't seem to execute at
all:
<xsl:template match="@URL">
http://www.mydomain.com
<!-- or
<xsl:copy-of select="http://www.mydomain.com"/>
-->
</xsl:template>
Thanks.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








