jet2MigrateAttrValue

Converts an attribute value that contains DPTK query expressions to an attribute value that contains XPath expressions


Tag Summary
 
required <jet2MigrateAttrValue isExpression="value" abbreviate="value" />
 
full tag <jet2MigrateAttrValue isExpression="value" abbreviate="value" />

Required Attributes
 
isExpression A true/false value indicating whether this attribute value is a simple value (false), possibly containing embedded expressions (dynamic attributes) or whether this value is itself a query expression (true), possibly containing dynamic attributes.
abbreviate A true/false value indicating whether to generate a full XPath expression (false) or an abbreviated XPath expression (true). Both XPath variants perform the same query.

There are no optional attributes
 

Example
 
<jet2MigrateAttrValue
        isExpression="true"
        abbreviate="false" >/app/plugin id="%ear-project(name)%'</jet2MigrateAttrValue>

This jet2MigrateAttrValue tag will convert its content to use XPath query expression syntax instead of DPTK query expression syntax. Since the entire value is a query expression, isExpression is true. Because the abbreviate attribute is "false", all expressions found in the value (there is the main expression and an embedded dynamic attribute) will be converted into full XPath syntax.


© Copyright IBM Corporation 2000, 2006. All Rights Reserved.