Re: [xslt] using key() function with key name in a variable



On Wed, Nov 13, 2002 at 07:10:33PM +0000, Jre@scanlaser.nl wrote:
> >   Seems very easy to fix to follow the common behaviour, so it's 
> probably not
> > worth starting a standard reading contest over xsl-list :-)
> >   Patch enclosed, untested since you didn't provided a full example.
> 
> Thanks very much -- I can confirm it works.  Sorry about the lack of an 
> example, but maybe better late than never:

  okay, added to the regression tests:

paphio:~/XSLT/tests/general -> xsltproc bug-98.xsl ../docs/bug-98.xml
<?xml version="1.0"?>
<result>
  <total><type>one</type><a>3</a><b>3</b></total>
  <total><type>two</type><a>1</a><b>5</b></total>

</result>
paphio:~/XSLT/tests/general ->

   thanks,

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]