• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Represent @ in xml file

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do i represent '@' character in an xsl file. I am writing something like this:

<a href = "<xsl:value-of select="@href"/>/>
it gives me "Whitespace required before attributes"
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you perhaps missing a quote character (") in "/>/>"?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic