Import via URL

Launch the PWA with XML data passed in the URL hash. This avoids CORS and server uploads.

Compressed (recommended)

Construct: .../app/index.html#gz:{base64_of_gzip(xml)}

gzip -c file.xml | base64 | xargs -I {} open "http://localhost:8000/docs/app/index.html#gz:{}"

Uncompressed

Construct: .../app/index.html#{base64(xml)}

The app detects gz: and will automatically ungzip and parse the XML.

See the URL Integration Guide for more details.