The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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