Solved

Xalan - Whitespace Required before attributes error

Posted on 2002-06-10
6
698 Views
Last Modified: 2013-11-19
0
Comment
Question by:KMAN
  • 3
  • 3
6 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 7068014
 Your stylesheet isn't well-formed. You're using double quotes inside an attribute value that is delimited by double quotes. Change them to single ones.

  Hope it helps.
0
 
LVL 5

Author Comment

by:KMAN
ID: 7068374
girionis -
Are you referring to the following lines when you say "you're using double quotes..." ?

<xsl:value-of select="."/>

That is the XSL syntax to return the value as is.

K
0
 
LVL 35

Accepted Solution

by:
girionis earned 200 total points
ID: 7068474
 I have to see your code.... otherwise I cannot tell. What I think is happening is that you have double quotes inside duoble quotes. If you open your file from a browser it might be able to tell you the exact line the error occurs.

  Hope it helps.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 5

Author Comment

by:KMAN
ID: 7068505
There are no double quotes in the XML and only the aforementioned lines from the XSL.

My message text won't save in EE, for some reason, but I can open the XML with a browser and get no errors.

Thanks, K
0
 
LVL 5

Author Comment

by:KMAN
ID: 7068530
Opened the XSL with a browser and it showed an Error where I used a '#' in a tag name.  I also changed the "*" to '*' and now it works.'

Thanks
0
 
LVL 35

Expert Comment

by:girionis
ID: 7068540
 I am glad I helped. Thank you for the points :-)
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
countHi2 challenge 7 44
firstChar challenge 13 85
Free Alternative to JIRA 4 58
WCAG (Web Content Accessibility Guidelines) levels 3 44
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now