directus-extension-xml-parser
v1.0.3
Published
Directus operation that parses XML string and turns it into a JSON object
Downloads
1
Maintainers
Readme
directus-extension-xml-parser
Directus operation that parses XML body and outputs it as a JSON file.
Usage
Provide the XML string inside the XML
field of the operation.
Example input:
<?xml version=\"1.0\" encoding=\"UTF-16\"?><film><title>Magnolia</title><director>Paul Thomas Anderson</director><year>1999</year><duration>188</duration><genre>Drama</genre></film>
Build and install in Directus
npm run build
to build the extension- Copy contents of
dist
folder,package.json
andpackage-lock.json
into theextensions
folder in your Directus project - Restart the Directus app