xpath

package module
v0.0.0-...-ebbbf74 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2025 License: MIT Imports: 10 Imported by: 0

README

xpath

xpath module provides selecting nodes from XML, HTML or other documents using XPath expression.

import xpath from "ski/xpath";

export default () => {
  console.log(xpath('//span').innerText("<div><span>hello</span></div>"));
}

References

Documentation

Overview

Package xpath the xpath executor

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Xpath

type Xpath struct{}

func (Xpath) Instantiate

func (x Xpath) Instantiate(rt *sobek.Runtime) (sobek.Value, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL