[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

Subject: RE: Problem with xsl:with-param and Objects instances
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 13 Jul 2001 16:02:34 +0100
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@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Cesar
> Hernandez Fuente
> Sent: 13 July 2000 14: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?
>
>
> 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.