Minimal, dependency-free helpers for parsing QTI 3.0 XML with DOMParser.
npm install qti-xml-coreMinimal, dependency-free helpers for parsing QTI XML with DOMParser.
This library provides small, focused utilities for parsing QTI 3.0 XML using
the runtime's DOMParser.
``bash`
npm install qti-xml-core
- Uses the runtime DOMParser when available; falls back to @xmldom/xmldom in Node.
`ts`
import {
extractItemIdentifier,
parseAssessmentItemRefsFromXml,
parseAssessmentTestXml,
parseResultItemRefsFromXml,
parseResultsXmlRaw,
resolveAssessmentHref,
resolveRelativePath,
} from "qti-xml-core";
`bash``
npm run build
npm test
None.
This repository is consumed via GitHub dependency (not published to npm).