[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Invalid characters in xsl:element
Hello, I'm trying to write an xsl file that will convert the following: <line>!tagname!value</line> into this: <tagname>value</tagname> When I use the following to get the tag name: <xsl:element name="substring-after(substring-after(. ,'!'),'!')"> </xsl:element> I get the error "A name contained an invalid character". Now, I've tested this function using the xsl:value-of element, and there were no invalid characters in the result. Is the parser finding the invalid character before the substring is removed? If so, is there any way to tell the parser to wait until after the function has been applied before checking for invalid characters? Thanks, Jason 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
|