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
the parse options and methods filter and getElementByID are somehow not working as I understand them.
Is there some bug or maybe lacking docs?
I expect the same result for a and b and furthermore for c and d, right?
consta=txml.parse(rawXML,{filter: (dom)=>dom.attributes.webdavID==id,});constb=txml.parse(rawXML).filter((dom)=>dom.attributes.webdavID==id)// expect a==b// result: a is node with id and b == []constc=txml.parse(rawXML,{searchId: 'N10005'});constd=txml.getElementById(rawXML,'N10005');// expect c==d// result: c is whole xml and d is the node with id
The text was updated successfully, but these errors were encountered:
the parse options and methods filter and getElementByID are somehow not working as I understand them.
Is there some bug or maybe lacking docs?
I expect the same result for a and b and furthermore for c and d, right?
The text was updated successfully, but these errors were encountered: