Re: Use of (sxml xpath)

2012-11-02 Thread Ian Price
Ariel Rios writes: > But I just cannot find a way to do this one guile and the documentation is > not clear > to me. Lisovsky, one of the creators of sxpath, has a number of examples at http://www.metapaper.net/lisovsky/query/examples/xpath/ Though, I have to agree, it would be nice to get bet

Re: Use of (sxml xpath)

2012-10-31 Thread Aleix Conchillo FlaquƩ
On Wed, Oct 31, 2012 at 10:51 AM, Ariel Rios wrote: > Hello all, > > I am trying to use (sxml xpath) to parse an xml file but I just cannot > understand the API. > > If I have the following xml > > http://www.w3.org/2006/10/ttaf1"; xml:lang="en"> > > > > hello > hello 2 > hello 3 > . > >

Use of (sxml xpath)

2012-10-31 Thread Ariel Rios
Hello all, I am trying to use (sxml xpath) to parse an xml file but I just cannot understand the API. If I have the following xml http://www.w3.org/2006/10/ttaf1"; xml:lang="en"> hello hello 2 hello 3 . In Perl I can do something like: my $xml = XML::XPath->new(filename => $file); $xm