Rank: Newbie
Groups: Registered
Joined: 4/20/2023(UTC) Posts: 3  Location: ufa
|
Hello I'm extracting data in an XML file via datasource . I'm pasting it into the statistik.gtzip caption in the last name (last name first name) field. I need a script that will swap last name first name with first name last name.The text field where the last name and first name are displayed in this caption is called FIRST.txt. Please help, I'm a complete noob. I've spent the whole day trying to figure this out, but I still can't get it working. Even the AI suggestions didn't help.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,444  Location: Belgium Thanks: 310 times Was thanked: 1005 time(s) in 829 post(s)
|
Originally Posted by: vadimtv  Hello I'm extracting data in an XML file via datasource . I'm pasting it into the statistik.gtzip caption in the last name (last name first name) field. I need a script that will swap last name first name with first name last name.The text field where the last name and first name are displayed in this caption is called FIRST.txt. Please help, I'm a complete noob. I've spent the whole day trying to figure this out, but I still can't get it working. Even the AI suggestions didn't help. Just switch the mapping between the title field and the datasource references
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 4/20/2023(UTC) Posts: 3  Location: ufa
|
<PersonID>21561</PersonID> <PersonName1>FAKHRITDINOV Sergey</PersonName1>
This data appears in XML format. DataSource defines it as a single row (one text field (FAKHRITDINOV Sergey)). The statistic caption shows it as a single text field. I'm not allowed to make changes to the XML file
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,444  Location: Belgium Thanks: 310 times Was thanked: 1005 time(s) in 829 post(s)
|
Originally Posted by: vadimtv  <PersonID>21561</PersonID> <PersonName1>FAKHRITDINOV Sergey</PersonName1>
This data appears in XML format. DataSource defines it as a single row (one text field (FAKHRITDINOV Sergey)). The statistic caption shows it as a single text field. I'm not allowed to make changes to the XML file
ok i misunderstood just like AI did first you will have to retrieve the name through a title (examples in he "scripting for dummies" post) than you can split up the name and concatenate them in reverse order and put them in your title https://www.google.com/s...ceid=chrome&ie=UTF-8some names might cause problems though
|
|
|
|
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.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close