You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the following xml:
<ns:root xmlns:ns="http://mynamespace">
<ns:items>
<ns:item id="1"/>
<ns:item id="2"/>
<ns:item id="3"/>
</ns:items>
</ns:root>
Expect:
This should return three item elements:
var items = opfXml.findall('items/item');
or
There should be a way to specify the namespace or it should assume the namespace of the current element.
Actual:
This returns an empty array of elements.
The text was updated successfully, but these errors were encountered:
Given the following xml:
<ns:root xmlns:ns="http://mynamespace">
<ns:items>
<ns:item id="1"/>
<ns:item id="2"/>
<ns:item id="3"/>
</ns:items>
</ns:root>
Expect:
This should return three item elements:
var items = opfXml.findall('items/item');
or
There should be a way to specify the namespace or it should assume the namespace of the current element.
Actual:
This returns an empty array of elements.
The text was updated successfully, but these errors were encountered: