W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2003

Re: Use Cases 1.2.4.1 (TREE-Q1): wrong solution

From: Jonathan Robie <jonathan.robie@datadirect-technologies.com>
Date: Thu, 06 Mar 2003 09:22:06 -0500
Message-Id: <5.2.0.9.0.20030306092055.04727c90@ncmail.datadirect-technologies.com>
To: MW <onlymails@gmx.net>, public-qt-comments@w3.org

At 05:43 AM 3/6/2003 +0100, MW wrote:

>I hope, somebody will read this post and will remove this big, fat BUG ;-)

Yes, I had already fixed it - but I'm changing it again, because I really 
like the solution you provided below:

>{-- not using local-name() --}
>define function toc($book as element) as element*
>{
>         for $section in $book/section,
>             $title   in $section/title
>         return
>                 <section>
>                 { $section/@* , $title , toc($section) 
> }
>                 </section>
>}

I will probably use that one.

Jonathan 
Received on Thursday, 6 March 2003 09:22:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:24 GMT