xml - How to bind Time to paragraph? -


i working on application should bind time each paragraph of text (utf-8).

so should kinda of index file can navigate 1 paragraph another.

and here got stuck index file structure...

i guessed use xml

<paragraph start="00:00:05"> chapter </paragraph> <paragraph start="00:00:08"> down rabbit-hole </paragraph>  <paragraph start="00:00:11"> alice beginning tired of sitting sister on bank, , of having nothing do: once or twice had peeped book sister reading, had no pictures or conversations in it, `and use of book,' thought alice `without pictures or conversation?' </paragraph> 

basically have keep list of time , text tags (in order find , select paragraph).

my current solution create custom object (which dictionary in fact) , save via binary writer , when read after deserialize it.

but not sure if technically approach correct one.

and here questions:

  1. how many text have keep find paragraph?

  2. is there other better structure xml realize thing?

any clues?


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -