This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Problem with xsl:with-param and Objects instances


For any problem with extension functions, the answer depends strongly on
which processor you are using - you haven't told us.

Mike Kay
Software AG

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Cesar
> Hernandez Fuente
> Sent: 13 July 2000 14:12
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] Problem with xsl:with-param and Objects instances
>
>
> Hi
>
>     With this source
>
>
> 	<xsl:variable name="container" select="Container:new()"/>
>
> 	....
> 	....
> 	....
>
> 	<xsl:apply-templates select="//components">
> 		<xsl:with-param name="auxContanier"
> select="$container"/>
> 	</xsl:apply-templates>
>
> 	<xsl:template match="//components">
> 		<xsl:param name="auxContainer"/>
> 		<xsl:value-of
> select="Container:addComponent($auxContainer,component:new(@posX,
> @posY)))"/>
> 	</xsl:template>
>
>
> 	when Component is defined as  --
> xmlns:Component="/es.telenium.Grafics.Component" --
> 	when Container is defined as  --
> xmlns:Container="/es.telenium.Grafics.Container" --
>
>
>     i get the next error:
>
> 	The firt argument is not a Object instance in <xsl:value-of
> select="......."/> ¿why?
>
>
> regards.
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]