Re: [xml] A newbee, some developer questions.



Wilbert -
This is off of your question, but are you aware of Cody Russell's Ludwig
Van project?
http://www.gnome.org/~bratsche/ludwig.html
Cheers,
John

On Fri, 2002-06-28 at 04:28, Wilbert Berendsen wrote:
Hi all,

I am new to this list, and am planning to start a (ambitious) musical
notation editor for GTK2, maybe Gnome. I want to use libxml for
reading and saving the documents, but also for storing and editing the
tree in memory.

My question is: I want to attach some userdata to xml nodes, (e.g.
cached metrical data, linebreak booleans etc) that I don't want to be
output when saving the file. But I want the data to be carried along
when moving the nodes around. The data is used to speed up rendering
after small changes to the tree.

How should I do that? Can I attach just some (pointer to) userdata
to xml nodes? Should I use attributes in another namespace, that are
filtered out on saving? Should I look into gdome2?

Or should I cache the rendering info in another C data structure
(which would be part of the rendering canvas architecture)?

Some hints by more experiences developers would greatly be
appreciated, thanks in advance for that.

Kind regards,
Wilbert Berendsen.



-- 
Wilbert Berendsen (http://www.xs4all.nl/~wbsoft/)
http://www.stoppoliceware.org/ http://digitalspeech.org/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml

-- 
John Fleck
jfleck inkstain net (h) jfleck abqjournal com (w)
http://www.inkstain.net http://www.abqjournal.com

"Sometimes, a diner is all about the mac and cheese." 
  - Zippy the Pinhead




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]