<include> parameter

Topics: Developer Forum, User Forum
Sep 16, 2008 at 4:30 PM

 

Hi, when i use the include parameter the help file show only missing statements., but Intellisense recognize it.

///
<include file='../Documentacion.uex' path='docs/doc[@for="Dominiotech.Framework.Datos.SQL.AccesoDatos"]'/>
public class....

-----------Documentacion.uex contains this --->>>

 

<

 

docs>
<doc for="Dominiotech.Framework.Datos.SQL.AccesoDatos.EstadoEjecucion">
<
summary>
Indica el estado del ultimo metodo ejecutado
</summary>
<
remarks>...</remarks>
</
doc>
</docs>

---------------------------------------------------------------------

-----------And the generated xml file by the compiler contains this--->>>

<

 

member name="P:Dominiotech.Framework.Datos.SQL.AccesoDatos.EstadoEjecucion">
<
doc for="Dominiotech.Framework.Datos.SQL.AccesoDatos.EstadoEjecucion">
<
summary>
<
para>Indica el estado del ultimo metodo ejecutad</para>
</
summary>
<
remarks>....</remarks>
</
doc>
</
member>

 

 

 

 

 

 ------------------------------------------------------------------

when i dont set the "include" parameter and put the xml comment directly on the top of the method all is fine.. And the generated xml file generated by the compiler dosnt include the <doc> attribute.

i know that the problem is the doc attribute but, how then i can use the include parameter????

 

 

Coordinator
Sep 16, 2008 at 7:31 PM

You need to select the content of the doc element rather than the doc element itself by adding "/*" to the end of the XPath query:

/// <include file='../Documentacion.uex' path='docs/doc[@for="Dominiotech.Framework.Datos.SQL.AccesoDatos"]/*'/> 

Eric