jkeywo / KGE

Kiwi Game Engine for 2D games
MIT License
1 stars 0 forks source link

XML Parser #3

Open jkeywo opened 10 years ago

jkeywo commented 10 years ago

Allows classes to define how they should handle each XML attribute/node. Should deal with class inheritance correctly, so attribute/node behaviour can be overwritten.

Allow include nodes to insert entire new files into the tree. Each unique file should be loaded into memory just once. Allow template attributes to supply basic attributes/children. Attributes can be overridden but all nodes are processed.

XML parsing helper functions (get attribute/node by hash, and iterators for the same).

jkeywo commented 10 years ago

Use http://pugixml.org/ instead of rapidxml? Should be faster for writing.

jkeywo commented 10 years ago

No, rapid XML looks fine.

jkeywo commented 10 years ago

Just need include and templates adding now.

jkeywo commented 10 years ago

Include node capabilities: