sasori Posted September 2, 2008 Share Posted September 2, 2008 (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 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) Quote Link to comment https://forums.phpfreaks.com/topic/122305-xml-help/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.