Sorry but the workaround described below does not work.

[email protected] wrote:
> The rather ugly workaround is to add to the stylesheet a foreign element
> in the "geovation/module/2.0" namespace using the "geov" prefix.
> 
> Example:
> ---
>     <cfg:transform source="%_">
>       <xsl:stylesheet version="1.0"
>         xmlns:geov="http://www.cggveritas.com/geovation/module/2.0";
>         xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
> 
>         <geov:ignored />
> 
>         <xsl:template match="/geov:menu">
>           <xsl:for-each select="geov:item">
>               <xsl:value-of
> select="concat(concat(geov:nativeDescript/@name,' '),@id)"/>
>               <xsl:if test="not(position() = last())">
>                  <xsl:text> </xsl:text>
>               </xsl:if>
>            </xsl:for-each>
>         </xsl:template>
> 
>       </xsl:stylesheet>
>     </cfg:transform>
> ---
> 
> This kind of foreign elements is allowed by the XSLT 1 standard. See
> http://www.w3.org/TR/xslt#stylesheet-element
> ---
> In addition, the xsl:stylesheet element may contain any element not from
> the XSLT namespace, provided that the expanded-name of the element has a
> non-null namespace URI. The presence of such top-level elements must not
> change the behavior of XSLT elements and functions defined in this document
> ---
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to