Published unlisted
Edited
Sep 21, 2020
Insert cell
md`# XML Parse example`
Insert cell
xmlString = fetch( "https://gist.githubusercontent.com/radames/671147b7a560b968212f202e45b14a28/raw/d56761045f3bb1c4b50694d00527a9fb71dabf94/test.xml"
).then(res => res.text())
Insert cell
data = xmlToJSON(xmlString)
Insert cell
items = data.response.body.items.item
Insert cell
import { xmlToJSON } from '@visnup/xml-to-json'
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more