davidc at nag.co.uk
Wed Jul 20 09:25:08 PDT 2011
On 20/07/2011 17:01, David Lee wrote:
> I am using html tag but in the xhtml namespace ...
If you serve the file with an xml or xhtml mime type then the & is
what you need (otherwise the file is not well formed and will be
rejected as such by the browser).
If your xquery processor has an html serialisation and you serialsed as
html then it would come out as && not && (and <br/> would come
out as <br>) and then serving as text/html will do the right thing.
If you generate xml and serve it as html, then it's all basically a
syntax error and you are relying on the browser to correct things,
sometimes it will work, but in this case it won't:-)
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
More information about the talk