I'm currently writing a parser for a custom XML file of my own design (a requirement mgmt tool to be specific), but am struggling with how to deal w/namespaces. Every requirement has a set of native attributes (int, float, enum, etc), but I'm worried I'm overcomplicating things. Here is what I want to do:
<int:attr id=100 name=Int Attr 1>
<int:default>4</int:default>
<int:base>16</int:base>
...
</int:attr>
<float:attr id=101 name=Float Attr 1/>
<float:default value=1.0/>
<float

recision value=5>
</float:attr>
<enum:attr>
....
...and so on. The nice thing is, everything has the same name (just different namespace)... Alternatively, I could just name everything "floatattr", "intattr", and avoid namespaces all together.
To any one knowledgable or experienced w/XML - Which would you choose?