xsl-list
[Top] [All Lists]

RE: How can I parse this?

2002-12-12 03:27:47
Yes, but I've obtained this value with a jsp tag.

Missatge citat per: Michael Kay 
<michael(_dot_)h(_dot_)kay(_at_)ntlworld(_dot_)com>:

 I have this template:

<xsl:template match="entry[(_at_)type='STRING']" mode="input">  
  <input class='{$FORM}' type='text' name='{(_at_)name}' 
value='{(_at_)value}' maxlength="{(_at_)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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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



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



<Prev in Thread] Current Thread [Next in Thread>