|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Problem with xsl:with-param and Objects instances
Perhaps your addComponent method is defined as "public void addComponent(Component c)"? Or perhaps because you put "component:new" instead of "Component:new"? PC2 -----Original Message----- From: Cesar Hernandez Fuente [mailto:chernandez@xxxxxxxxxxx] Sent: July 13, 2000 06:12 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: 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? XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








