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

Subject: RE: [xsl] XSL omit part of a text inside TAG
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 7 Mar 2008 12:02:38 -0000
> 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[@xsi:type='CBarCode']/fontface">

Or if your stylesheet is schema-aware:

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

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

Current Thread