cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

XML attributes / elements issue

sbennaceur
5-Regular Member

XML attributes / elements issue

Hello everyone ,

I'm having a real struggle here . Let me set the scene : I'm calling REST API services from Integrity Modeler in Thingworx . I'm able to get my XML file that works . My issue is when i want to get the "elements" from it .Using this : xml.* I get the content of the elements like : Complete or Operation etc ( see below) . What I would like to do is xml.Name and then get "BMW_Models"

Does anyone know why this syntax doesn't work ? I tried serval ones and nothing comes up .

Thanks in advance for the support .


case.png

2 REPLIES 2
PaiChung
22-Sapphire I
(To:sbennaceur)

That content in the href looks like one piece of data, you may have to get that data and then do a split on it based on / to find different items.

sbennaceur
5-Regular Member
(To:PaiChung)

Thanks for replying  . The contente is like a level under what I'm looking for . What I would like first is to get name or the ID and to display that

Announcements


Top Tags