Skip to content

Operator question, "|" vs. "or" #28

@bitparity

Description

@bitparity

How come //div/div/(preceding-sibling::* | following-sibling::*) uses | but not or (i.e. it returns an error if you try to use or) whereas //sp[(@who = "Hamlet") or (@who = "Ophelia")] is the opposite, i.e. uses or but not |?

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