xsl-list
[Top] [All Lists]

RE: [xsl] matching complex attributes

2008-01-24 12:58:26
contains(@style, 'Italic')

~ Scott


-----Original Message-----
From: Terry Ofner [mailto:tofner(_at_)comcast(_dot_)net] 
Sent: Thursday, January 24, 2008 1:54 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] matching complex attributes

I hope that this is a simple matter.

I am trying to match some inline elements with complicated and  
potentially variable attributes. Is there a way to match

<inline style="font-family: &#34;TimesNewRomanPS Italic&#34;;">

without quoting the entire style description? I have tried

<xsl:template match='inline[(_at_)style="font-family:*Italic"]'>

and

<xsl:template match='inline[(_at_)style="*Italic*"]'>

Terry

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


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