Other than a custom .vm template, have you tried single quotes?

-- 
Eric Redmond
http://www.coderoshi.com/

On 9/28/07, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>
> Has anyone successfully included JavaScript in xdoc rendered by the
> site plugin?  Brian ran into this trying to add Google search to the
> Maven site.
>
> If I put this in index.xml
>
> <?xml version="1.0"?>
> <document>
>   <properties>
>     <title>Hello</title>
>   </properties>
>   <body>
>     <section name="Test">
>       You should see a JavaScript alert...
>       <script type="text/javascript">
>         alert("Hello!");
>       </script>
>      </section>
>   </body>
> </document>
>
> The index.html file contains
>
> <?xml version="1.0"?>
> <document>
>   <properties>
>     <title>Hello</title>
>   </properties>
>   <body>
>     <section name="Test">
>       You should see a JavaScript alert...
>       <script type="text/javascript">
>         alert(&quot;Hello!&quot;);        <-----problem with &quot;
> entity rather than " character
>       </script>
>      </section>
>   </body>
> </document>
>
> 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?
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to