File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Represent @ in xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply 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: jrebel
 
subject: Represent @ in xml file
 
Similar Threads
linking from html page to jsp page
Xalan XPath Question
Problem in importing html file in jsp
Schema design Help
xalan