StringToElement Op

StringToElement

convert html/xml string input to an element


Uses DomParser to create an Element from the string input to be used with ops in the Ops.Html.Elements. namespace.

https://developer.mozilla.org/en-US/docs/Web/API/DOMParser


Full Name
  • Ops.Html.Elements.StringToElement
Visibility
  • Core Op - visible for everyone
License
  • MIT
AuthorgithubMaintained by Team


Example Patch StringToElement Example

example on how to convert valid html/xml strings to elements to use in cables

Open In Editor

INPUT PORTS


Input (String)

html/xml

Type index (Number: integer) text/html  text/xml 

OUTPUT PORTS


Element (Object)

Changelog

Patches using StringToElement

  • Examples
  • Public
  • My Patches