Jakob Voß > DAIA-0.25 > daiaformat.pl

Download:
DAIA-0.25.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

daiaformat.pl - Simple DAIA parser/converter as CGI and command line client

DESCRIPTION ^

You can pass either an URL which will be queried, a string of serialized DAIA. The serialization format (JSON or XML) can be specified or it will get guessed. You can use this as a proxy to convert serialization or just show the result in HTML - in this case you can also validate DAIA/XML against the XML Schema.

COMMAND LINE USAGE ^

  daiaformat.pl input.xml  out=json  # convert to DAIA/JSON (default)
  daiaformat.pl input.json out=xml   # convert to DAIA/XML
syntax highlighting: