Source

xobj /

Filename Size Date modified Message
as3
py
test
262 B
469 B
1.0 KB
931 B
2.4 KB
922 B
46 B
1023 B
INTRODUCTION
============

The xobj project provides object reflector interfaces between various
dynamic languages and XML.  Currently, Python and ActionScript 3
implementations are available.

These interfaces are intended to allow for concise code for using
and manipulating XML documents.  For example, using the ElementTree
Python library, you might write something like this:

    imageItem = [ x for x in parent if x.tag == 'image' ]

In this case, imageItem will always be a list, even if it is
not defined in the XML schema to be a sequence.

Using xobj, you could refer to the image element more directly:

    parent.image

That will be either a single item or a list, depending on the
context.

It is not required to provide an XML schema to use xobj.  Custom
objects may be used for parts or all of the document, whether or
not an XML schema is provided.  Schema validation is optional.
If new elements show up, they will be preserved across read/write;
schema additions will not normally require code changes.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.