[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How can I parse this?
> 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
|
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
|