JustSomeGuy
Usenet Archive
- Joined
- Jan 24, 2000
- Messages
- 156
- Reaction score
- 0
I've run into a snag in my understanding of xml
up to date I thought that xml looked like this:
<someObject>
Its Value
</someObject>
<AnotherObject>
<AOSubObject>
Its Value
</AOSubObject>
</AnotherObject>
To find the value of AOSubObject you would specify a 'path' (for lack of a better word in my knowledge of xml) like AnotherObject/AOSubObject
However I've just seen some xml that confuses me on how to search it to retrieve an objects value.
<someObject>
Its Value
</someObject>
<AnotherObject>
<AOSubObject>
Its Value
</AOSubObject>
<AOSubObject>
Another Value
</AOSubObject>
<AOSubObject>
Yet Another Value
</AOSubObject>
</AnotherObject>
So how do you get AOSubObjects value? I mean which one do you need? All of them? I suppose this is complient xml syntax as it comes from iTunes.
up to date I thought that xml looked like this:
<someObject>
Its Value
</someObject>
<AnotherObject>
<AOSubObject>
Its Value
</AOSubObject>
</AnotherObject>
To find the value of AOSubObject you would specify a 'path' (for lack of a better word in my knowledge of xml) like AnotherObject/AOSubObject
However I've just seen some xml that confuses me on how to search it to retrieve an objects value.
<someObject>
Its Value
</someObject>
<AnotherObject>
<AOSubObject>
Its Value
</AOSubObject>
<AOSubObject>
Another Value
</AOSubObject>
<AOSubObject>
Yet Another Value
</AOSubObject>
</AnotherObject>
So how do you get AOSubObjects value? I mean which one do you need? All of them? I suppose this is complient xml syntax as it comes from iTunes.