Hi Nils,

thanks, that worked.

Best regards, Lars

2012/3/13 Niels Muller Larsen <[email protected]>

> Did you try the entity &amp;   ?
>
> Yours truly
> Prof Niels aka @phidip
>
>
> On 13/03/2012, at 11.05, Lars Vogel <[email protected]> wrote:
>
> Hello,
>
> 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="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
>
>


-- 
Lars
http://www.vogella.de - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter

Reply via email to