[Jprogramming] xpath?

Raul Miller rauldmiller at gmail.com
Tue Jul 20 03:46:43 HKT 2010


On Mon, Jul 19, 2010 at 3:41 PM, Raul Miller <rauldmiller at gmail.com> wrote:
> Assuming I have not misunderstood the xpath specification, I
> believe I was asking for:
>>   'item' xpathsel '<items><item>1</item><item>2</item></items>'
> 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0

That said, I think this would also work:
 'item' xpathsel '<items><item>1</item><item>2</item></items>'
+--------------+--------------+
|<item>1</item>|<item>2</item>|
+--------------+--------------+
FYI,
-- 
Raul


More information about the Programming mailing list

AltStyle によって変換されたページ (->オリジナル) /