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
richardgatarski  
#1 Posted : Thursday, October 24, 2019 7:37:52 PM(UTC)
richardgatarski

Rank: Advanced Member

Groups: Registered
Joined: 2/18/2014(UTC)
Posts: 1,838
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.
doggy  
#2 Posted : Thursday, October 24, 2019 9:37:33 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,243
Belgium
Location: Belgium

Thanks: 294 times
Was thanked: 960 time(s) in 794 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
thanks 1 user thanked doggy for this useful post.
richardgatarski on 10/24/2019(UTC)
richardgatarski  
#3 Posted : Thursday, October 24, 2019 10:44:02 PM(UTC)
richardgatarski

Rank: Advanced Member

Groups: Registered
Joined: 2/18/2014(UTC)
Posts: 1,838
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 />
Users browsing this topic
Guest
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.