|
Subject: [xsl] Problem with xsl:with-param and Objects instances From: "Cesar Hernandez Fuente" <chernandez@xxxxxxxxxxx> Date: Thu, 13 Jul 2000 15:12:06 +0200 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Thread | RE: [xsl] Problem with xsl:with-par, Michael Kay | |
| Date | [xsl] tokenize func, shruti | |
| Month |