Socket
Socket
Sign inDemoInstall

xml_display

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    xml_display

A JS component to pretty-display XML data, with collapsible nodes.


Version published
Weekly downloads
147
decreased by-5.77%
Maintainers
1
Install size
9.10 kB
Created
Weekly downloads
 

Readme

Source

XMLDisplay

A JS component to pretty-display XML data, with collapsible nodes.

Original code from: http://www.levmuchnik.net/Content/ProgrammingTips/WEB/XMLDisplay/DisplayXMLFileWithJavascript.html

IE9 compatible.

API:

  • needs a holder element, with some id
  • LoadXMLUrl('holder_id', "..url..") - retrieve data via HTTP GET
  • LoadXMLString('holder_id', "<xml...") - load from XML string
  • LoadXMLDom('holder_id', DOM_root) - load from a DOM node
  • $(jquery_selector).xmlDisplay(xml_string) - same as LoadXMLString

Keywords

FAQs

Last updated on 14 Nov 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc