forked from yaronn/xpath.js
-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
Hello.
The idea of using namespaces is certainly original, but it is not always convenient. In general, I load the page from somewhere and I do not want to set namespaces.
It would be convenient to turn them off optionally.
Further.
I'm trying to parse the next line:
const htmlString=<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Galleries</title></head><body></body></html>
;
I can not select /html/head/title for this line using namespace.
In your examples, a search is made for part of the path (for example, "/namespace:DeepChild").
I want/need to use the full path - /html/body/child1/child2/....
If I use namespaces, it does not work.
Metadata
Metadata
Assignees
Labels
No labels