Project

Profile

Help

Feature #5020

open

Enable saxon:parse-html in Saxon JS 2 in the browser by using DOMParser

Added by Martin Honnen almost 3 years ago. Updated over 1 year ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Sprint/Milestone:
Start date:
2021-06-08
Due date:
% Done:

0%

Estimated time:
Applies to JS Branch:
Fix Committed on JS Branch:
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

Modern browsers support parsing a string of HTML with DOMParser e.g.

function parseHTML(html) { return new DOMParser().parseFromString(html, 'text/html'); }

so perhaps the saxon:parse-html extension function from the Java PE and EE world could be mapped in Saxon-JS to a call to some JavaScript similar to the above function.

Please register to edit this issue

Also available in: Atom PDF Tracking page