xsl-list
[Top] [All Lists]

[xsl] Antwort: Re: [xsl] Changing the Attibute Value

2008-07-21 03:46:55
andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com schrieb am 21.07.2008 11:47:12:


The stylesheet below does most of what you asked, you just need to add
an extra template to handle the address element:

The template for the Address-node, just in case you still need it:

<xsl:template match="Address[parent::VisualObject[xsi:type = 
'CChamferEx']]" >
        <xsl:copy>
                <xsl:copy-of select="@*">
                <xsl:value-of select="concat(
                                                substring-before(., 
'ChamferedRectangle'),
                                                'Fillet',
                                                substring-after(., 
'ChamferedRectangle')
                                                )" />
        </xsl:copy>
</xsl:template>

Greetings Christoph





If you are not the intended addressee, please inform us immediately that you 
have received this e-mail in error, and delete it. We thank you for your 
cooperation.  
--~------------------------------------------------------------------
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>
--~--