|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2017-11-18 (11 months ago) ||Not yet rated by the users||Total: 28 This week: 1||All time: 9,363 This week: 409|
This package can extract information from XML documents.
It can parse a given XML file and perform queries to extract data from certain tags.
The query expressions syntax allow to specify values to match tag attribute names.
LOM is an XML querying language; or slang, if you prefer. In terms of other querying languages: this one would be said to use a
dynamic, rather than static, context. So query results depend on code-wise previous query results. Basically, it allows a coder
to write code more lazily by having LOM assume that something not very specifically referenced should be looked for within the most relevant
contexts (usually the most recent ones). This pushes it a little towards being conversational rather than only logical. An example
will probably clarify things:
Sarah: I want lots of friends. Do you have many friends?<br>
Jill: I have some but my brother has more.<br>
Sarah: Oh yeah, my brother has lots of friends too.<br>
Jill: What are their names?<br>
Based on the above conversation, we can probably see that what we are interested in would be the names of Sarah's brother's friends
and not the names of Jill's friends or the names of all the friends Sarah and Jill know or the names of everything in the universe.
LOM makes the syntax for this query simple; it would be $O->_('name'); assuming that the rest of the conversation were similarly coded.
See test.php for usage examples.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.