[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Adding a HTML link with & parameters
Did you try the entity & ?
Yours trulyProf Niels aka @phidipHello,I'm adding some HTML and _javascript_ to the HTML output of my Docbook sources. I'm using the user.header.content customization.This work really well except if I try to include parameters in a link, e..g<a href="" href="http://www.vogella.de/w/click.here?sid=65209&m=3&c=1" target="_blank">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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]