RE: [xsl] How can I parse this?

Subject: RE: [xsl] How can I parse this?
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 12 Dec 2002 10:54:33 -0000
>  I have this template:
> 
> <xsl:template match="entry[@type='STRING']" mode="input">  
>   <input class='{$FORM}' type='text' name='{@name}' 
> value='{@value}' maxlength="{@maxlength}"/> </xsl:template>
> 
>  With this template I have a proble, the field value can have 
> the char &, because it's a URL (i.e.: 
> www.google.com?searc='juas'&language='ES')
> 
>  What could I do 
> to solve this problem?
> 

It shouldn't be a problem. In well-formed XML or HTML, the "&" in the
URL will be written as & a m p ; and you can then process it just like
any other character.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread