|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Inserting into a href tag
> This is the XML file:
>
> <product>
> <prodnum>
> US1234
> </prodnum>
> </product>
>
> This value will need to be used in many places, such as this
> inside my XSL file:
>
> <A href="/details/{prodnum}">
>
> I'm get output that looks like this:
>
> <A href="/details/%0A%20US1234%0A%20"}
Use <A href="/details/{normalize-space(prodnum)}"> to get rid of the
whitespace before and after the US1234 value. This whitespace is being
escaped using URL escaping conventions.
Mike Kay
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
|

Cart








