Section numbering using xmerl:export

Mikael Karlsson mikael.karlsson@REDACTED
Tue Sep 17 09:07:07 CEST 2002


måndag 16 september 2002 17:02 skrev Ulf Wiger:
> On Mon, 16 Sep 2002, Mikael Karlsson wrote:
> >> >For some reason I have to reverse the list returned by
> >> >xmerl_xpath:string/2.
> >>
> >> This is most likely a bug, but I'm afraid I don't have time
> >> to look into it right now. Perhaps someone else could look
> >> at the code?
> >
> >I get the message :-).
> >I'll have a look and see if I can understand it.
>
> I wonder if not all instances of lists:foldl in
> xmerl_xpath.erl should be replaced by lists:foldr...
>
Yes. It works just fine after changing. Also positioning
like "section[position() = 1]" selects the first section now.

Thanks!
/Mikael



More information about the erlang-questions mailing list