Solved

Xalan - Whitespace Required before attributes error

Posted on 2002-06-10
6
718 Views
Last Modified: 2013-11-19
0
Comment
Question by:KMAN
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Is there a simpler dropbox system? 10 51
Java Inheritance super keyword use 8 67
How does initial implicit objects  are set up in JSP? 7 37
Java regex 5 17
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.
In this post we will learn different types of Android Layout and some basics of an Android App.
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

738 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