Link to home
Start Free TrialLog in
Avatar of KMAN
KMAN

asked on

Xalan - Whitespace Required before attributes error

Avatar of girionis
girionis
Flag of Greece image

 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.
Avatar of KMAN
KMAN

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of KMAN

ASKER

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
Avatar of KMAN

ASKER

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
 I am glad I helped. Thank you for the points :-)