[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: strangeness with <xsl:variable>
> From: Mike Hostetler [mailto:mikeh@xxxxxxxxxxxx] > Sent: 20 December 2000 19:45 > 1. When doing this: > <xslvariable name="name"> > chap<xsl:number count="chapter"/> > </xsl:variable> > > <a name="{$name}"> > [....] > I get control characters in the HTML, a la: > <a name="%A0%20chap1"> > The newline and spaces before the "chap" are part of the same text node, so they are part of the value of the variable. Remove them from the stylesheet, or use <xsl:text>, or use <a name="normalize-space($name)">. 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
|