vMix Forums
»
General
»
General Discussion
»
Empty tags in XML datasource not working as expected (solved)
Rank: Advanced Member
Groups: Registered
Joined: 2/18/2014(UTC) Posts: 1,837 Location: Stockholm
Thanks: 144 times Was thanked: 297 time(s) in 250 post(s)
|
I expect that when a XML datasource containing a couple of tag like: Quote:<row1>First line</row1> <row2>Second line</row2> and displayed in a Title Input to display Quote:First Line Second Line is updated to: Quote:<row1></row1> <row2></row2> The Title Input should display nothing. What instead happens is that the preview in the Data Sources Manager is emptied, and what the Title Input displays is unaffected (the two rows are still there). For RSS data sources empty elements (tags) behave as expected, that is clears the corresponding fields in the Title Input. Am I missing some intented use for XML in particular, or is there a bug running loose? Thanks.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,209 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
if a title input is replaced with nothing it will keep showing the previous content so you have to "fill" it with something (a space is a something)
seems to be working fine here though
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/18/2014(UTC) Posts: 1,837 Location: Stockholm
Thanks: 144 times Was thanked: 297 time(s) in 250 post(s)
|
Thanks (again) doggy!
You helped me look into how I have organized my XML file. Turned out to be bad. I'm a noob and still don't get the hang of XPath, but I'm working on it...
Learned too that an empty tag can also be <tag />
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Empty tags in XML datasource not working as expected (solved)
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