[Jprogramming] xpath?

Raul Miller rauldmiller at gmail.com
Tue Jul 20 03:41:39 HKT 2010


On Mon, Jul 19, 2010 at 3:34 PM, Dan Bron <j at bron.us> wrote:
> (A)  It would help if you could supply example inputs (XML & XPATH) and
> outputs (char or boxed vector).

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
> (B)  Look into x2j .

I can not figure out how to get my current position from x2j,
when I am in a callback.
-- 
Raul


More information about the Programming mailing list

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