Hi *,

I need to generate an XDOC with a header that contains a link to a
javascript. So far, no problem.

However, the URL where the code is contains a "&"

<script type="text/javascript" charset="utf-8"
src="http://bit.ly/javascript-api.js?version=latest&login=statsvn&apiKey=R_2c362b417d0517c27876cbaca1bb68cc";></script>

This causes the xdoc plugin to fail (not valid XML).

If I replace this "&" by "&amp;" the xdoc does not complain BUT I end up
with &amp; in the html generated and this means that the link does not work
as planned...

I've tried to read as much a possible on xdoc format... and I tried:
1/ <escapeXml> : it fails
2/ <!CDATA[[ ... : the script is NOT included in the HTML at the end...

How could I do this?

Thanks a lot

Benoit
-- 
View this message in context: 
http://n2.nabble.com/XDoc-and-%22-%22-in-a-URL...-tp3473248p3473248.html
Sent from the maven users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to