RE: [xsl] Type error with variable as=xs:string using xsl:choose

Subject: RE: [xsl] Type error with variable as=xs:string using xsl:choose
From: "Trevor Nicholls" <trevor@xxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Sep 2006 22:42:34 +1200
David:
   In this case you could probably avoid the whole problem as

   <xsl:variable name="normsrc" as="xs:string"
     select="replace($xsrc,'^.*/images/','images/')"/>

Indeed I will. It makes the intention pretty clear...

Thanks again
Trevor

Current Thread