Jump to content

XML help


sasori

Recommended Posts

(based from the tutorial in w3schools.com)

let's say the user created this xml script

<note>
<to>Tove</to>
<from>Jani</from>
<body>Don't forget me this weekend!</body>
</note>

and it should output this

xmlme9.jpg

and then let's say the user decided to add an element later on in the script like

<note>
<date>2008-01-10</date>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>

 

w3cshool said, the application will not crash because it can still detect the <to>, <from>, and <body> elements in the XML document and produce the same output.

 

so my question now is..what's gonna happen with the <date> ? where did it go ?

why was it not detected at all ? (im new to this thing)

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.