Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old November 2nd, 2005, 10:30 AM
Authorized User
 
Join Date: Sep 2005
Location: , , .
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Entities

Hi,
i'm trying to write this line
<a href="SOMEVALUE">Atrás</a>

And i have this code

<xsl:element name="a">
  <xsl:attribute name="href">
    <xsl:value-of select="@value"/>
  </xsl:attribute>
  Atrás
</xsl:element>

Everything works fine, except Atrás
I get an
[Fatal Error] utils.xslt:21:34: The entity "aacute" was referenced, but not declared.
ERROR: 'The entity "aacute" was referenced, but not declared.'

I also had this error in my JSP file, i fixed it with
<!DOCTYPE HTML PUBLIC "entidades" "entidades.dtd">
where entidades.dtd is where all the entities are defined

How can i do this in a XSLT file? So that all the entities are recognizes.

thank you


Reply With Quote
  #2 (permalink)  
Old November 7th, 2005, 03:59 AM
Authorized User
 
Join Date: Oct 2005
Location: , , Philippines.
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

have you tried the character mapping? you could probably use the unicode of that character.

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert entities... carlosaml XSLT 12 October 17th, 2007 03:52 AM
referenced entities bcogney XML 7 April 21st, 2006 11:04 AM
referenced entities bcogney XSLT 0 April 20th, 2006 02:37 PM
Entities as String muki XSLT 3 November 12th, 2005 11:15 AM
XSL and Referencing Entities arron_v2003 XSLT 0 March 4th, 2004 04:49 PM



All times are GMT -4. The time now is 04:40 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.