flattspott
Jan 21 2004, 07:34 PM
My question is this... Can someone tell me what's what in an XML file. I know the root node is the start and end tags but what about elements, attributes and values. So in short i'd like to know all the WHATSTHIS's below
1. <sometag somethingelse="WHATSTHIS">BLA</sometag>
2. <sometag somethingelse="BLA">WHATSTHIS</sometag>
3. <sometag WHATSTHIS="BLA">BLA</sometag>
Kthulu
Jan 21 2004, 07:45 PM
dude, i doubt anyone can tell you what that stuff means lol
check out this pinned thread...
http://forums.xbox-scene.com/index.php?act...T&f=35&t=129619it's pinned in the main MXM forum
flattspott
Jan 21 2004, 07:49 PM
All I wanted to know is if each WHATSTHIS is a value, element or attribute.
Kthulu
Jan 21 2004, 08:00 PM
ok...i don't think there's any formal definitions on this stuff but here's my conception...
1. attribute-value
2. ??? the stuff the tag wraps around ??? the piggy-in-the-blanket ??? the cream-filling of the xml ???

3. attribute
is there a particular section of one of the MXM user guides or something you need to ask about?
flattspott
Jan 21 2004, 08:06 PM
Nope. Its for a for a few XAS's I'm doing.
Kthulu
Jan 21 2004, 08:09 PM
are you going to be asking the user if they want to 'edit the tag', 'edit the attribute', 'edit the attribute-value' and stuff like that? for that purpose, i would call the 'text in the middle of the xml' (2) the 'value'...
geniusalz
Jan 21 2004, 08:16 PM
<tagname attributename="attributevalue">content</tagname>
good?
flattspott
Jan 21 2004, 08:18 PM
I suppose that's what I'm doing.
The first XAS is - Xecuter2 Info. You run it and you can see all the DIP-Swith settings. You can also view you current bios info and rename the name if you want (for adding new bios)
geniusalz
Jan 21 2004, 08:26 PM
DIP switches? Interesting to say the least. Tell me how it goes.
flattspott
Jan 21 2004, 08:30 PM
Yes DIP-switches, for changing the BIOS bank.
I thought it would kinda handy to have them on the ol' Xbox if I need to switch to certain bank without having to search on the net or around the house for the Switches
Kthulu
Jan 21 2004, 08:36 PM
| QUOTE |
<tagname attributename="attributevalue">content</tagname>
|
content...that is better than 'piggy-in-the-blanket' lol
BenJeremy
Jan 21 2004, 11:03 PM
In my XML lexicon:
<Node attribute="attrvalue">
<Element Attribute="attrvalue">elementvalue</Element>
</Node>
Nodes don't have particular values.... they contain other nodes or elements.
Nodes and elements can have attributes. In MXM's parser, I make little distinction, form a generalized access point of view - it sees:
<SomeNode>
<pos x="0" y="23" />
</SomeNode>
pretty much the same as:
<SomeNode>
<pos>
<x>0</x>
<y>23</y>
</pos>
</SomeNode>
just because I felt it would be more forgiving and robust with human inputting the XML text.
geniusalz
Jan 22 2004, 12:13 AM
| QUOTE (BenJeremy @ Jan 21 2004, 08:03 PM) |
it sees:
<SomeNode> <pos x="0" y="23" /> </SomeNode>
pretty much the same as:
<SomeNode> <pos> <x>0</x> <y>23</y> </pos> </SomeNode>
just because I felt it would be more forgiving and robust with human inputting the XML text. |
I noticed that too, recently.
And that's the way the !.blah.blah.blah works too.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.