Platform
Resources
Pricing
Sign in
Get started
Radamés Ajna
Engineering @huggingface 🤗. Data visualization enthusiast. Creative technologist. Open for collaborations.
Workspace
Fork
Published unlisted
By
Radamés Ajna
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.
Try it for free
Learn more
Fork
View
Export
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
xmlString
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
data
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
items
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML