Sounds like you're re-inventing a wheel that not only may be a lot of work, 
but will result in a proprietary format that is incompatible with 
everything.

--
Kevin Powick

On Monday, 3 April 2017 02:33:31 UTC-5, Tomi Häsä wrote:
>
> Because Go has structs and it can read for example XML and JSON, I have 
> been thinking of making my own document format and save those documents to 
> a database. Users would save the documents in my Android app as XML 
> locally, but the documents will be saved in a more concise format inside an 
> online database server. Are there any known practices, like, is it better 
> to save sections of the documents as cells (paragraphs, headings, authors, 
> etc.) or should I just save one document in each cell? I have been thinking 
> of using for example Unicode character BELL instead of <P> to mark 
> paragraphs, and characters BELL+ETX for heading, and so on, or something 
> similar where I won't be saving the same word (P, BR, H1, etc.) 
> unnecessarily in case I want to make word searches from the database.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to