You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Kalaveshi, Adrian" <ak...@rsasecurity.com> on 2005/01/13 19:05:52 UTC

RE: xdoc plugin questions

Has anyone discovered a way to embed javascript in the xml files
consumed
by xdoc?


>-----Original Message-----
>From: Lukas Theussl [mailto:theussl@triumf.ca] 
>Sent: Wednesday, July 14, 2004 11:28 AM
>To: users@maven.apache.org
>Subject: xdoc plugin questions
>
> >> - is it possible to have comments in the xml files copied over to
the
> >> html (I noticed that comments in <!-- --> are omitted in the
generated
> >> html file, I'd like to include some javascript code which is
embedded in
> >> <!-- -->)
> >
> >Does wrapping them in <![CDATA[...]]> help?
>
>Unfortunately no. The following line:
>
><![CDATA[ Comment: <!-- Comment -->]]>
>
>does not make it into the html file at all, if I wrap a <pre> tag
around it:
>
><pre><![CDATA[ Comment: <!-- Comment -->]]></pre>
>
>I get the following:
>
><pre> Comment: &lt;!-- Comment --&gt;</pre>
>
>which is not what I want either.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org