Skip to content

Simple usage documentation refers to nonexistent export #6

Description

@scott-ln

The simple usage documentation specifies the following:

import { DOMImplementationImpl, DOMParserImpl, XMLSerializerImpl } from 'xmldom-ts'
import { install, xsltProcess, xmlParse } from 'xslt-ts'

This results in the error:

file:///C:/Users/scott/code/xslt/test.mjs:2
import { install, xsltProcess, xmlParse } from 'xslt-ts'
         ^^^^^^^
SyntaxError: The requested module 'xslt-ts' does not provide an export named 'install'

This is a brand new project where I've done nothing but install xslt-ts and xmldom-ts and try to run the example code on a string of XML.

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