Jump to content


Photo

Xml Definitions Needed Please


  • Please log in to reply
12 replies to this topic

#1 flattspott

flattspott

    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 21 January 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>

Edited by flattspott, 21 January 2004 - 07:35 PM.


#2 Kthulu

Kthulu

    X-S Freak

  • XS-BANNED
  • PipPipPipPipPip
  • 1,287 posts
  • Xbox Version:v1.0
  • 360 version:unknown

Posted 21 January 2004 - 07:45 PM

dude, i doubt anyone can tell you what that stuff means lol

check out this pinned thread...
http://forums.xbox-s...T&f=35&t=129619

it's pinned in the main MXM forum

#3 flattspott

flattspott

    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 21 January 2004 - 07:49 PM

All I wanted to know is if each WHATSTHIS is a value, element or attribute.

#4 Kthulu

Kthulu

    X-S Freak

  • XS-BANNED
  • PipPipPipPipPip
  • 1,287 posts
  • Xbox Version:v1.0
  • 360 version:unknown

Posted 21 January 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 ??? tongue.gif
3. attribute

is there a particular section of one of the MXM user guides or something you need to ask about?


#5 flattspott

flattspott

    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 21 January 2004 - 08:06 PM

Nope. Its for a for a few XAS's I'm doing.

#6 Kthulu

Kthulu

    X-S Freak

  • XS-BANNED
  • PipPipPipPipPip
  • 1,287 posts
  • Xbox Version:v1.0
  • 360 version:unknown

Posted 21 January 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'...

Edited by Kthulu, 21 January 2004 - 08:11 PM.


#7 geniusalz

geniusalz

    Team MXM

  • Head Moderators
  • PipPipPipPipPip
  • 1,827 posts
  • Gender:Male
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 21 January 2004 - 08:16 PM

<tagname attributename="attributevalue">content</tagname>
good? wink.gif

#8 flattspott

flattspott

    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 21 January 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)

#9 geniusalz

geniusalz

    Team MXM

  • Head Moderators
  • PipPipPipPipPip
  • 1,827 posts
  • Gender:Male
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 21 January 2004 - 08:26 PM

DIP switches? Interesting to say the least. Tell me how it goes.

#10 flattspott

flattspott

    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 21 January 2004 - 08:30 PM

Yes DIP-switches, for changing the BIOS bank. rolleyes.gif

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

Edited by flattspott, 21 January 2004 - 08:31 PM.


#11 Kthulu

Kthulu

    X-S Freak

  • XS-BANNED
  • PipPipPipPipPip
  • 1,287 posts
  • Xbox Version:v1.0
  • 360 version:unknown

Posted 21 January 2004 - 08:36 PM

QUOTE
<tagname attributename="attributevalue">content</tagname>


content...that is better than 'piggy-in-the-blanket' lol


#12 BenJeremy

BenJeremy

    X-S Elysian

  • Head Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9,690 posts
  • Gender:Male
  • Xbox Version:v1.1
  • 360 version:v1 (xenon)

Posted 21 January 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.

#13 geniusalz

geniusalz

    Team MXM

  • Head Moderators
  • PipPipPipPipPip
  • 1,827 posts
  • Gender:Male
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 22 January 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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users