[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bricolage-devel
Subject:    Re: [Bricolage-Devel] Re: Class:XPath
From:       David Wheeler <david () kineticode ! com>
Date:       2003-04-03 17:06:20
[Download RAW message or body]

On Thursday, April 3, 2003, at 08:12  AM, Scott Lanning wrote:

> Could you please explain what you mean by "adding XPath support"?
> Do you mean like this?
>
>     foreach my $para ($story->match('//paragraph')) {
>         ...
>     }

Yes, except that it would be the $element object, most likely. Though 
it might be kinda cool to somehow combine them in 2.0 into a $doc 
object.

> Also, in the SYNTAX section of the POD, it says the module doesn't
> support Unicode -- doesn't that rule it out for Bricolage?

Not sure. I imagine he just means for the xpath lookup string, not for 
the content of an element.

D

-- 
David Wheeler                                     AIM: dwTheory
david@kineticode.com                              ICQ: 15726394
                                                Yahoo!: dew7e
                                                Jabber: Theory@jabber.org
Kineticode. Setting knowledge in motion.[sm]



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Bricolage-Devel mailing list
Bricolage-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic