|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] partial attribute matching
I have an xml file that contains:
<html><head>
<page_url url="http://www.somedomain.com/section/page.html" />
[...]
and a corresponding xsl fragment:
<xsl:if test="
/html/head/page_url[@url='http://www.somedomain.com/section/']">
do something different
</xsl:if>
What I'm trying to accomplish is to apply a template to an entire 'url'
section but this doesn't appear to work. What's the preferred way of
testing for a partial attribute match?
|
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








