wood burning stoves*
The moose likes XML and Related Technologies and the fly likes Represent @ in xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Represent @ in xml file" Watch "Represent @ in xml file" New topic
Author

Represent @ in xml file

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303
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"


SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Are you perhaps missing a quote character (") in "/>/>"?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Represent @ in xml file