Back to index

plone3  3.1.7
Classes | Variables
makepox Namespace Reference

Classes

class  POX
class  XMLParser
class  JSParser

Variables

 stderr = sys.stderr
 warn_on_broken_xml = True
list files = sys.argv[1:]
tuple pox = POX()
list xml = [f for f in files if not f.endswith('.js')]
list js = [f for f in files if f.endswith('.js')]
tuple pres = pox.get_result()

Detailed Description

Simple script to generate .pox files

    parses XML for i18n attrs and JS files for _() calls and generates an
    XML .pox template document (.poxt file)

    (c) Guido Wesdorp 2005

Variable Documentation

list makepox.files = sys.argv[1:]

Definition at line 204 of file makepox.py.

list makepox.js = [f for f in files if f.endswith('.js')]

Definition at line 208 of file makepox.py.

tuple makepox.pox = POX()

Definition at line 206 of file makepox.py.

tuple makepox.pres = pox.get_result()

Definition at line 211 of file makepox.py.

makepox.stderr = sys.stderr

Definition at line 13 of file makepox.py.

Definition at line 15 of file makepox.py.

list makepox.xml = [f for f in files if not f.endswith('.js')]

Definition at line 207 of file makepox.py.