I am attempting to use xmlproperty to load an xml file and then read some
attributes in it, however I have multiple matches. For example, my xml
file can be structured as such:

<profiles>
       <profile name="default" path="/V6/Base/profiles/default" />
       <profile name="wp2" path="/V6/Base/profiles/wp2"/>
</profiles>

And I need to get the path value for the profile the name of which is
"default". Is there a way to specify that when I call properties that are
in the file? Right now I call ${profiles.profile.path} but that returns
both paths, comma delimited.

You'd probably need to use XPath to extract this, either using a small
XSL transform or more simply using xmltask (Google it). --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to