[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: HEP

Subject: Re: HEP
From: Fredrik Lindgren <f.lindgren@xxxxxxxxxx>
Date: Thu, 08 Jul 1999 14:53:36 +0200
fredrik lindgren
My guess is that the Ö character in FJKAFJÖASJD might be the reason. You
haven't given any encoding information in the XML declaration and the
processor assumes the encoding is UTF-8. Try removing the Ö and see what
happens. If that works then try to give the correct encoding. ISO-8859-1
includes the Ö character so the following should work i guess.
<?xml version="1.0" encoding="ISO-8859-1" ?>

Hope this helps

Fredrik Lindgren
Upright engineering AB

Marco.Mistroni@xxxxxxxxx wrote:
> 
> HI all,
>       i have a problem: with the following stylesheet, the xslprocessor
> always gives me an error at the line
> <INPUT NAME ="FJKAFJÖASJD"  TYPE="SUBMIT"
> VALUE="{substring-after("abcd","b")"} />
> 
> What's wrong in it?????
> and how can i do the same thing by giving to the substring function the
> name's attribute of a node???
> 
> <?xml version = "1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
> xmlns="http://www.w3.org/TR/REC-html40" result-ns=""indent-result="yes">
> <xsl:import href="Example3.xsl"/>
> <xsl:template match="service">
> <HTML>
> <FORM>
> 
>   <xsl:apply-templates/>
> 
> <INPUT NAME = "{./@NAME}" TYPE="SUBMIT" VALUE="{./@name}" />
> </FORM>
> </HTML>
> </xsl:template>
> 
> <xsl:template match="command">
> <xsl:element
> <INPUT NAME ="FJKAFJÖASJD"  TYPE="SUBMIT"
> VALUE="{substring-after("abcd","b")"} />
> </xsl:template>
> 
> <xsl:template match="attribute">
> <INPUT NAME="{./@name}" TYPE="TEXT" VALUE="{./@name}"  />
> 
> </xsl:template>
> </xsl:stylesheet>
> 
> Please reply me soon
> marco
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.