Re: [PATCH] Teach xmerl_xpath to resolve context namespaces in more cases
Daniel White <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <CAMD5n_0gDY_Lrg6KcMsAZFy18zggmJ30Ccx=MRABdDkzbkJZKw@mail.gmail.com> |
D'oh, that was a mistake when transcribing it from my console. The example above should have read: <root xmlns:ns1="http://www.example.com/ns"> <ns1:child ns1:attr="example" /> </root> On Fri, Sep 13, 2013 at 7:57 PM, Anthony Ramine <[email protected]> wrote: > Isn't that case wrong too? > > The <child/> element isn't in the http://www.example.com/ns namespace, right? > > Le 12 sept. 2013 à 18:52, Daniel White a écrit : > >>> [#xmlElement{}] = xmerl_xpath:string("/root/t:child", Doc, [{namespace, [{"t", "http://www.example.com/ns"}]}]). _______________________________________________ erlang-patches mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-patches