Loads property values from a well-formed xml file. There are no other restrictions than "well-formed".
Table 168. Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
file |
String |
The XML file to parse. | n/a | Yes |
prefix |
String |
The prefix to prepend to each property | n/a | No |
keepRoot |
Boolean |
Keep the xml root tag as the first value in the property name. | true |
No |
collapseAttributes |
Boolean |
Treat attributes as nested elements. | false |
No |
delimiter |
String |
Delimiter for splitting multiple values. | , | No |
required |
Boolean |
If this is set to true then a build exception will
be raised if the file cannot be found otherwise only a warning will be
logged.
|
false |
No |