[ start | index | login ]
start > 2005-04-15 > 1

2005-04-15 #1

Created by arte. Last edited by arte, 3 years and 221 days ago. Viewed 209 times. #5
[diff] [history] [edit] [rdf]
labels
attachments
oo3.png (10609)
pages.png (6846)

Why is XML hierarchical?

That is something I wonder every time I look into XML dumps of certain software. The last two candidates were >>OmniOutliner 3 Professional and >>Apples Pages.

oo3 While OmniOutliner, a generally excellent software, is a tool that works with hierarchical data structures and even stores a very nice OPML file the XML used for export plugins seems to throw away the idea of embedded tags for styles and other information about the data. Why is the style of a piece of text defined by a tag just in front of it?

pages Even more chaotic is the situation with Pages. While at the user level a very nice and very easy to use text processing tool it stores its files in an XML file that is cryptic and ignores lots of features you get by using XML. The first thing that struck me was that all styles are stored right with the text itself. If you remove the styles Pages chockes heavily and refuses to open the document. It would have been too easy to separate the styles from the actual document. If so we could change the look in a matter of seconds, but now its more like a Word document.
Second, all text information is stored in paragraphs and the structure of the document is determined by paragraph styles. So a headline is not declared as such, but simply a paragraph that has the attributes that format it like a headline. While I can understand the benefits of such an approach, the drawbacks are that it is much more difficult to work with such a data format.

And why am I ranting about this? I want to use OmniOutliner as a tool to write my documents. Its a clean start with headlines and subtitles. I can fill in text as notes and always focus on the topic. I want the benefits of Pages too. However, for now I will have to settle with converting OmniOutliners format to an intermediate XML I used previously to write documents and convert them to LaTeX. This works great, a while business plan had been written this way once.

Please login to post a comment.
RSS Feed
Logged in Users: (0)
… and 2 Guests.
14 users and 256 docs.
Emerged 4 years and 337 days ago

Connections:
>>Stephans Blog
>>USA Erklärt
>>DUHBLOG
>>Der König
>>drrockit.com
>>sofa. rites de passage
>>langreiter.com
>>henso.com

Current Gaming:
New Super Mario Bros. Dr. Kawashima's Brain Training

Ohloh profile for Matthias L. Jugel

< November 2008 >
SunMonTueWedThuFriSat
1
2345678
9101112131415
16171819202122
23242526272829
30

Portlet 1
thinkberg
subconscious opinions
Copyright © 2005-2008 Matthias L. Jugel | SnipSnap 1.0b3-uttoxeter