I'm adding some HTML and _javascript_ to the HTML output of my Docbook sources. I'm using the user.header.content customization.
<a href="" href="http://www.vogella.de/w/click.here?sid=65209&m=3&c=1">http://www.vogella.de/w/click.here?sid=65209&m=3&c=1" target="_blank">Testing</a>
which gives me the following error message:
[xslt] /home/vogella/workspace/docu/de.vogella.publishing/mystylesheets/headerandroid.html:105:55: Fatal Error! Error reported by XML parser Cause: org.xml.sax.SAXParseException; systemId: file:/home/vogella/workspace/docu/de.vogella.publishing/mystylesheets/headerandroid.html; lineNumber: 105; columnNumber: 55; unexpected character after entity reference (found "=") (expected ";")
[xslt] : Warning! org.xml.sax.SAXParseException; systemId: file:/home/vogella/workspace/docu/de.vogella.publishing/mystylesheets/headerandroid.html; lineNumber: 105; columnNumber: 55; unexpected character after entity reference (found "=") (expected ";") Cause: org.xml.sax.SAXParseException; systemId: file:/home/vogella/workspace/docu/de.vogella.publishing/mystylesheets/headerandroid.html; lineNumber: 105; columnNumber: 55; unexpected character after entity reference (found "=") (expected ";")
It seem to be pointing to the &. I tried to quote it with "\&" but this did not help.
How can I include such a link into the HTML output?
Best regards, Lars
--
Lars
http://www.vogella.de - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter