logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
younger  
#1 Posted : Thursday, June 12, 2025 9:42:35 PM(UTC)
younger

Rank: Newbie

Groups: Registered
Joined: 8/14/2023(UTC)
Posts: 3
Germany

id_slot1 = 16778240

This works:
name = xmlLTAZ.selectSingleNode("//UserInfo/UserId[text()=16778240]").InnerText

This not:
name = xmlLTAZ.selectSingleNode("//UserInfo/UserId[text()=id_slot1]").InnerText

I'm desperate, how do I correctly pass the content of a variable
ryxyz  
#2 Posted : Thursday, June 12, 2025 10:45:18 PM(UTC)
ryxyz

Rank: Advanced Member

Groups: Registered
Joined: 2/23/2023(UTC)
Posts: 58
United States

Thanks: 13 times
Was thanked: 11 time(s) in 4 post(s)
Code:
id_slot1 = 16778240
name = xmlLTAZ.selectSingleNode("//UserInfo/UserId[text()=" & id_slot1 &"]").InnerText
younger  
#3 Posted : Thursday, June 12, 2025 11:01:15 PM(UTC)
younger

Rank: Newbie

Groups: Registered
Joined: 8/14/2023(UTC)
Posts: 3
Germany

Thanks a lot :-)
Users browsing this topic
Guest
Similar Topics
Web API to pass variable to Script (Feature Requests)
by mikeborschow 5/24/2021 4:32:00 AM(UTC)
Pass variable value between scripts? (3rd Party Software and Development)
by roverradio 7/16/2020 9:04:10 AM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.