Solved

Xalan - Whitespace Required before attributes error

Posted on 2002-06-10
6
706 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

912 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