• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 740
  • Last Modified:

Xalan - Whitespace Required before attributes error

0
KMAN
Asked:
KMAN
  • 3
  • 3
1 Solution
 
girionisCommented:
 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
 
KMANAuthor Commented:
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
 
girionisCommented:
 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
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
KMANAuthor Commented:
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
 
KMANAuthor Commented:
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
 
girionisCommented:
 I am glad I helped. Thank you for the points :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now