Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
/ xml_display Public archive

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

Notifications You must be signed in to change notification settings

himdel/xml_display

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published