• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Camera Metadata XML
2## Introduction
3This is a set of scripts to manipulate the camera metadata in an XML form.
4
5## Generated Files
6Many files can be generated from XML, such as the documentation (html/pdf),
7C code, Java code, and even XML itself (as a sanity check).
8
9## Dependencies
10* Python 2.7.x+
11* Beautiful Soup 4+ - HTML/XML parser, used to parse `metadata_properties.xml`
12* Mako 0.7+         - Template engine, needed to do file generation.
13* Markdown 2.1+     - Plain text to HTML converter, for docs formatting.
14* Tidy              - Cleans up the XML/HTML files.
15* XML Lint          - Validates XML against XSD schema.
16
17## Quick Setup (Ubuntu Precise):
18sudo apt-get install python-mako
19sudo apt-get install python-bs4
20sudo apt-get install python-markdown
21sudo apt-get install tidy
22sudo apt-get install libxml2-utils #xmllint
23
24## Quick Setup (MacPorts)
25sudo port install py27-beautifulsoup4
26sudo port install py27-mako
27sudo port install py27-markdown
28sudo port install tidy
29sudo port install libxml2 #xmllint
30