I am reading events from a SQL database, which I read as XML using a
SQL statement: -
    Select * from dbo.TimeLineHistoryData(@Userid) As Event FOR XML
AUTO
Here is a typical event generated by this: -
<Event link="http://en.wikipedia.org/wiki/Battle_of_Grand_Port";
title="Battle of Grand Port" start="Aug 20 1810" durationEvent="1"
end="Aug 27 1819" image="http://en.wikipedia.org/wiki/
File:Grand_Port_mg6971.jpg" caption="Samuel Pym" color="#336699"
textColor="black" />

This all worked perfectly, until I added a description field in the
database.  This generated: -
<Event title="SS Tainui" start="Aug 31 1923" durationEvent="0"
caption="J A Pym" color="#336699" textColor="black" description="J A
Pym arrives in New Zealand 31 Aug 1923 on this ship" />

The description is supposed to be displayed in the bubble, but it was
ignored.  Simile Timeline documentation implies that the property name
is "description", not "Description" or another spelling, and I know
that the name must be exactly correct: for example "link", not
"Link".  What is the correct property name for the description?

Everything worked correctly when I manually changed the XML to this
form: -
<Event title="SS Tainui" start="Aug 31 1923" durationEvent="0"
caption="J A Pym" color="#336699" textColor="black" >J A Pym arrives
in New Zealand 31 Aug 1923 on this ship</Event>

Thank you, Robert Barnes

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to