Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

m083743
m083743
Offline

Badges

Badges
3

Accepted Solutions

Accepted Solutions
0

Likes

Likes
0

Posts

Posts
2

Discussions

Discussions
0

Questions

Questions
2

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by m083743
Customize the badges you want to showcase on your profile
Re: Is it possible to use an xpath string on xml within a script activity? - Adobe Campaign 23-12-2021
Hi Jyoti,I'm well aware E4X syntax works but it won't allow me to use a string expression without using eval. I'm looking for something that allows me to use string expressions. Thanks.

Views

136

Likes

0

Replies

0
Is it possible to use an xpath string on xml within a script activity? - Adobe Campaign 23-12-2021
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( );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 ...

Views

154

Likes

0

Replies

3