xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] strangeness with


Subject: RE: [xsl] strangeness with <xsl:variable>
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 2 Jan 2001 11:15:04 -0000

> 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



Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor