XML.com: XML From the Inside Out
oreilly.comSafari Bookshelf.Conferences.

advertisement
 Resource Guide -> Java Beans, Java Applications, IBM -> PatML

PatML

Date: Nov. 13, 1998
Link: http://www.alphaworks.ibm.com/formula/patml
Source Author or Organization: IBM (alphaWorks)

Excerpted from web site: "PatML is a pattern/match replacement tool for XML documents. It is a rule based specification language in which the user can specify how an XML document can be transformed for the sake of browsing (converted to HTML) or other purposes. When the rules of transformation are complex Java code can be embedded or called, to handle complex tree matches, and/or transformations."

"In a typical rule, the user would specify pattern that has to be matched. Optionally there may be condition (a Java predicate object) that is evaluated. Once the match happens, the optional condition is evaluated and, if true, the optional transformation may be done. Alternatively, (or in addition) a set of Java inline statements can be applied."

"PatML is written as a Java bean, consisting of three Java beans, a pattern match bean, a replacement bean, and an action bean. Hence any part of PatML can be embedded in a larger component system very easily."