Skip to content

Little informative examples. #81

@heretic13

Description

@heretic13

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions