?
Solved

Xalan - Whitespace Required before attributes error

Posted on 2002-06-10
6
Medium Priority
?
725 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 800 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
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 …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

752 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