Skip to content

stateful interface is cumbersome when performing multiple xpath queries on one document #87

@lolbinarycat

Description

@lolbinarycat

as far as i can tell, the only way to do this is to create a new NodeNavigator with htmlquery.CreateXPathNavigator for each query.

additionally, it is cumbersome to turn the result of a query into a string. having to iterate through to find the first result, and then calling Value() seems like a lot, and there is no documentation i could find that suggests this is what you are supposed to do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions