Re: [xslt] implementation of dyn:map
- From: Daniel Veillard <veillard redhat com>
- To: thevakoc-xml yahoo com, The Gnome XSLT library mailing-list <xslt gnome org>
- Cc:
- Subject: Re: [xslt] implementation of dyn:map
- Date: Fri, 8 Jul 2005 15:05:28 -0400
On Fri, Jul 08, 2005 at 10:54:54AM -0700, Mark Vakoc wrote:
> Here's an implementation of {http://exslt.org/dynamic}map for libexslt. It
> seems like a goofy extension but can be very useful, as in when working with
> multiple documents where the key() limited me.
>
> The attached samples are really silly and not a good test but shows it works at
okay, applied but not yet commited I need to fix a couple of warnings.
Is that the expectd result ?
thanks !
Daniel
paphio:~/XSLT/tests/exslt/dynamic -> ../../../xsltproc/xsltproc dynmap.xsl dynmap.xml
<?xml version="1.0"?>
<result>
<node-set>
<childNode2>bbbb</childNode2>
<childNode4>dddd</childNode4>
<childNode6>ffff</childNode6>
<childNode8>hhhh</childNode8>
<childNode1>jjjj</childNode1>
<childNode3>llll</childNode3>
<childNode5>nnnn</childNode5>
<childNode7>pppp</childNode7>
<childNode9>rrrr</childNode9>
</node-set>
<boolean>
<exsl:boolean xmlns:exsl="http://exslt.org/common">true</exsl:boolean>
<exsl:boolean xmlns:exsl="http://exslt.org/common">true</exsl:boolean>
<exsl:boolean xmlns:exsl="http://exslt.org/common">true</exsl:boolean>
<exsl:boolean xmlns:exsl="http://exslt.org/common">true</exsl:boolean>
<exsl:boolean xmlns:exsl="http://exslt.org/common">true</exsl:boolean>
<exsl:boolean xmlns:exsl="http://exslt.org/common">true</exsl:boolean>
<exsl:boolean xmlns:exsl="http://exslt.org/common">true</exsl:boolean>
</boolean>
<number>
<exsl:number xmlns:exsl="http://exslt.org/common">9</exsl:number>
<exsl:number xmlns:exsl="http://exslt.org/common">0</exsl:number>
<exsl:number xmlns:exsl="http://exslt.org/common">0</exsl:number>
<exsl:number xmlns:exsl="http://exslt.org/common">0</exsl:number>
<exsl:number xmlns:exsl="http://exslt.org/common">0</exsl:number>
<exsl:number xmlns:exsl="http://exslt.org/common">0</exsl:number>
<exsl:number xmlns:exsl="http://exslt.org/common">9</exsl:number>
</number>
<string>
<exsl:string xmlns:exsl="http://exslt.org/common">with-child</exsl:string>
<exsl:string xmlns:exsl="http://exslt.org/common">without-child</exsl:string>
<exsl:string xmlns:exsl="http://exslt.org/common">without-child</exsl:string>
<exsl:string xmlns:exsl="http://exslt.org/common">without-child</exsl:string>
<exsl:string xmlns:exsl="http://exslt.org/common">without-child</exsl:string>
<exsl:string xmlns:exsl="http://exslt.org/common">without-child</exsl:string>
<exsl:string xmlns:exsl="http://exslt.org/common">with-child</exsl:string>
</string>
</result>
--
Daniel Veillard | Red Hat Desktop team http://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]