xsl-list
[Top] [All Lists]

RE: [xsl] XSL omit part of a text inside TAG

2008-03-07 05:04:11

But the problem is, there can be other <fontface> tags too, 
in my future ones... I want this Path replacement ONLY to be 
done only for <VisualObject> tags with attribute "CBarCode".


Then write a more selective pattern:

<xsl:template match="VisualObject[(_at_)xsi:type='CBarCode']/fontface">

Or if your stylesheet is schema-aware:

<xsl:template match="element(VisualObject,CBarCode)/fontface">

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
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>
--~--