- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I'd like to be able to use xpath on an xml rather than E4X, I know E4X works but I'd like to be able to use string expressions.
e.g.
var xml = new XML(
<root>
<item count="4"/>
</root>
);given the code above I'd like to be able to do something like xml.getValue("//@count").
I see that there is a method in the docs that should do what I want however i haven't been able to use it successfully.
https://experienceleague.adobe.com/developer/campaign-api/api/m-DOMElement-getValue.html
If anyone could please help I would be extremely grateful.
Solved! Go to Solution.
Views
Replies
0 Likes
Total Likes