12.4. Namespace-specific Configuration Example
<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd"> <resource-config selector=""> <resource></resource> <param name=""></param> </resource-config> </smooks-resource-list>
- The
selector
attribute is the mechanism by which the resource is "selected" (for example, it can be an XPath for a Visitor implementation). - The
resource
element is the actual resource. This can be a Java Class name or some other form of resource such as a template. The resource is assumed to be a Java class name for the remainder for this section. - The
param
elements are configuration parameters for the resource defined in the resource element.