You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Damien Lecan <ml...@dlecan.com> on 2007/10/01 14:40:25 UTC

Re: Including JavaScript in xdoc

> I tried putting &quot; in the xdoc, but it still comes out as &quot;
> in the html, and the alert box doesn't work.
> Any ideas?

And with xml CDATA tag ?

<?xml version="1.0"?>
<document>
 <properties>
   <title>Hello</title>
 </properties>
 <body>
   <section name="Test">
     You should see a JavaScript alert...
     <script type="text/javascript">
       <![CDATA[alert("Hello!");]]>
     </script>
    </section>
 </body>
</document>

?

Damien

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


Re: Including JavaScript in xdoc

Posted by Manos Batsis <ma...@geekologue.com>.

This is probably useless to the OP, but we also wanted to use scripts 
and went directly for a custom site skin.

Cheers,

Manos

Lukas Theussl wrote:
> That doesn't work either, we have already opened some JIRA tickets:
> 
> http://jira.codehaus.org/browse/DOXIA-154
> http://jira.codehaus.org/browse/MSITE-257
> 
> Cheers,
> -Lukas
> 
> 
> Damien Lecan wrote:
>>> I tried putting &quot; in the xdoc, but it still comes out as &quot;
>>> in the html, and the alert box doesn't work.
>>> Any ideas?
>>
>>
>> And with xml CDATA tag ?
>>
>> <?xml version="1.0"?>
>> <document>
>>  <properties>
>>    <title>Hello</title>
>>  </properties>
>>  <body>
>>    <section name="Test">
>>      You should see a JavaScript alert...
>>      <script type="text/javascript">
>>        <![CDATA[alert("Hello!");]]>
>>      </script>
>>     </section>
>>  </body>
>> </document>
>>
>> ?
>>
>> Damien
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


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


Re: Including JavaScript in xdoc

Posted by Lukas Theussl <lt...@apache.org>.
That doesn't work either, we have already opened some JIRA tickets:

http://jira.codehaus.org/browse/DOXIA-154
http://jira.codehaus.org/browse/MSITE-257

Cheers,
-Lukas


Damien Lecan wrote:
>>I tried putting &quot; in the xdoc, but it still comes out as &quot;
>>in the html, and the alert box doesn't work.
>>Any ideas?
> 
> 
> And with xml CDATA tag ?
> 
> <?xml version="1.0"?>
> <document>
>  <properties>
>    <title>Hello</title>
>  </properties>
>  <body>
>    <section name="Test">
>      You should see a JavaScript alert...
>      <script type="text/javascript">
>        <![CDATA[alert("Hello!");]]>
>      </script>
>     </section>
>  </body>
> </document>
> 
> ?
> 
> Damien
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

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