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
https://forums.phpfreaks.com/topic/122305-xml-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.