XmlRegister

From LaneWiki

Revision as of 18:52, 18 February 2010; Jaybee (Talk | contribs)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
Jump to: navigation, search

Using xmlRegister’s renderers, one can easily change the layout, colors, and fonts of the Register interface. Currently, only Tk is supported by renderers.

xmlRegister File Format

See $LaneRoot/register/xmlRegister/lane-xmlRegister-0.dtd in the archive for the XML DTD.

renderXmlRegister-*

To render myregister.xml as a Tk perl script:

cd $LaneRoot/register/xmlRegister/
./renderXmlRegister-Tk < myregister.xml > myregister.pl

You can then run the register perl script myregister.pl.

xmlRegister

See $LaneRoot/register/xmlRegister/xmlRegister for documentation in POD. xmlRegister renders and runs the script in one step.

To use the default interface (SysString:Lane/Register/UserInterface/XML):

$LaneRoot/register/xmlRegister/xmlRegister Tk

You can also specify a filename or a URL. xmlRegister understands string: and sysString: L’âne specific URLs as well as any URL supported by Perl's LWP library.

Personal tools