Parses some XML specified via the given URI (which can be relative or an absolute URL) and outputs theparsed object. Typically this tag is customized by setting the introspector attribute or nesting a childintrospector tag inside it.
Attribute Name | Type | Description |
classLoader | java.lang.ClassLoader | Sets the ClassLoader to be used to load bean classes from.If this is not specified then either the ClassLoader used to load this tag libraryis used or, if the 'useContextClassLoader' property is true, then thecurrent threads context class loader is used instead. |
escapeText | boolean |
|
introspector | org.apache.commons.betwixt.XMLIntrospector | Sets the Betwixt XMLIntrospector instance used to define the metadata for how abean should appear as XML. |
path | java.lang.String | Sets the path that the root class should be bound to.This is optional and often unnecessary though can be used to ignore some wrappingelements, such as the <rss>element in the RSS unit test. |
rootClass | java.lang.String | Sets the name of the root class to use for parsing the XML |
trim | boolean |
|
uri | java.lang.String | Sets the URI from which XML is parsed. This can be relative to this Jelly script, usean absolute URI or a full URL |
useContextClassLoader | boolean | Sets whether or not the current threads's context class loadershould be used to load the bean classes or not.This can be useful if running inside a web application or inside someapplication server. |
var | java.lang.String | Sets the variable name to output with the result of the XML parse. |