Rob's garden / notes / note

Note

#Today I Learned

#TIL you can parse XML in the browser with

new DOMParser().parseFromString(source, "application/xml")

It meant I could create this little HTML custom element that shows the availble versions of a library by parsing the XML result from an S3 bucket index.

Screenshot of a collapsable web element listing the versions of a piece of software