Subject: RE: if - will this work? From: Kay Michael <Michael.Kay@xxxxxxx> Date: Mon, 5 Jun 2000 15:11:00 +0100 |
> Could anyone tell me if the following code would work? > <xsl:if test="@src='*.gif'"> Wishful thinking, I'm afraid. There's no regular expression matching in XPath. There's no ends-with() function, either. Use something like substring(@src, string-length(@src)-3, 4)='.gif' Mike K XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Omnimark and XSL cooperation, Paul Terray | Thread | RE: if - will this work?, Jeni Tennison |
Re: page numbers and fo, Sebastian Rahtz | Date | Re: nested block elements in xml ->, Jeni Tennison |
Month |