answering my own question...
i see in the ndoc task that it writes out a temp ndoc project file
that's full of <property name= value= /> nodes.  since this file is
created using the .net xml classes, any <> char would be rendered in &;
notation, regardless of the original contents.  since ndoc then works
off the temp project file, there's no way in ndoc to have embedded html
(me thinks).

thanks anyway.
/jean

> -----Original Message-----
> From: Jean Rajotte [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 20, 2003 16:37
> To: '[EMAIL PROTECTED]'
> Subject: ndoc and html in a property's value
> 
> 
> allo yall,
> 
> question:  how can i set html into a property's value? 
> 
> i'd like to do the functional equivalent of the following illegal xml:
> 
>     <property name="App.Copyright"  value="plain and 
> <b>bold</b> text" />
> 
> then i use this in a ndoc task as follows:
> 
>     <ndoc verbose="true" >
>       <documenters>
>         <documenter name="MSDN">
>             <property name="CopyrightText" value="${App.Copyright}" />
> 
> i've tried the following 2 approaches:
> 
>     <property name="App.Copyright"  value="plain and 
> &lt;b&gt;bold&lt;/b&gt; text" /> and
>     <script language="C#">
>       <code> <![CDATA[ 
>           public static void ScriptMain(Project project) {
>             project.Properties[ "App.Copyright" ] = "plain 
> and <b>bold</b> text";
>           } 
>       ]]> </code>
>     </script>
> 
> i always end up w/ the following output (in the html from 
> ndoc's work):
> 
>       plain and &lt;b&gt;bold&lt;/b&gt; text
> 
> i don't want this -- i want html!  i don't know whether ndoc 
> or nant is munging the text into &-; notation...  
> 
> any idea and/or alternatives?
> 
> thanks,
> jean
> 
> ____________
> Jean Rajotte
> +1 416-574-1767
> 



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to