|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Java extensions are not working (or work differently) wi
You forgot to rename the "expr" attribute om xsl:variable to "select" (yes, it would be nice if XT caught this). Maxime Levesque wrote: > > The following stylesheet works perfectly with version 19990708. > > with the new version (19990725), > > I get the following error message : > > "add: no method with 2 arguments" > > <?xml version="1.0"?> > > <xsl:stylesheet > xmlns:xsl="http://www.w3.org/XSL/Transform/1.0" > xmlns:Vector="http://www.jclark.com/xt/java/java.util.Vector" > xmlns:Object="http://www.jclark.com/xt/java/java.lang.Object"> > > <xsl:template match="/"> > > <xsl:variable name='vector' expr='Vector:new()'/> > <xsl:variable name='o' expr='Object:new()'/> > > <xsl:value-of select='Vector:add($vector, $o)'/> > </xsl:template> > > </xsl:stylesheet> 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








