xsl-list
[Top] [All Lists]

Re: Problems with &/& in style sheet

2005-06-15 02:21:08
David Carlisle wrote:
I said

  Which is good, because an unquoted & in an html file would be a
  syntax error

But I hadn't noticed that you were inside a script element.

I realized you probabely hadn't noticed...

So my answer is wrong (as is Michael's) George Bina pointed you in the
right direction.

If you are using the html output method (which should be the default
if your top level element is html in no-namespace) then the & will be
output as &.

If you are using the xhtml output method (eg your are writing xhtml)
then you will get & which is the correct syntax for xhtml.

We're using xhtml, indeed. George Bina's hint did the trick! Luck me I'm
inside a script...

--
Marcel Stör
http://www.frightanic.com



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--