Project

Profile

Help

Feature #5020

open

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

Added by Martin Honnen over 3 years ago. Updated over 2 years 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.

Actions #1

Updated by Michael Kay over 3 years ago

Thanks, yes, this is a reasonable thing to have on our future requirements list.

Actions #3

Updated by Norm Tovey-Walsh over 2 years ago

  • Priority changed from Low to High

Bumping the priority based on feedback from Martin.

Actions #5

Updated by Norm Tovey-Walsh over 2 years ago

  • Sprint/Milestone set to SaxonJS 3.0

Please register to edit this issue

Also available in: Atom PDF Tracking page