Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

How to use within Node and Browser #39

Description

@loretoparisi

I have downloaded the node source and required the module:

XPath=require('./util/wgxpath');
XPath.install();

it gives no errors.
But now how to evaluate an available DOM and valid structure (supposed to have one within node)?

On a browser I have copied the install file in the Chrome console and the I did

wgxpath.install()

But I cannot see there the .test object

wgxpath.test
undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions