|
صفحة: 323
ומאפיינים חדשים ועוד . עצם מהטיפוס XML DOM שומר את הנתונים שבקובץ XML במבנה עץ היררכי בדיוק כפי שהם מופיעים במסמך . לדוגמה , נתבונן בקובץ : Players . xml < Player > < Players > xml version = " 1 . 0 " ?> < GameWithBestScore > Chess GameWithBestScore > < LastVisit > 2008-01-01 LastVisit > < BestScore > 565446 BestScore > < NumbeOfVisits > 566 NumbeOfVisits > < PlayerName > the king of chess PlayerName > < PlayerID > 1 PlayerID > < BestScore > 256666 BestScore > < NumbeOfVisits > 44 NumbeOfVisits > < PlayerName > Prince PlayerName > < PlayerID > 2 PlayerID > < Player > Player > < ScoreInAllGames > 565446 ScoreInAllGames > Players > Player > < ScoreInAllGames > 3456642 ScoreInAllGames > < GameWithBestScore > Mahjung GameWithBestScore > < LastVisit > 2008-02-02 LastVisit > < ScoreInAllGames > 4564446 ScoreInAllGames > < GameWithBestScore > Ninja GameWithBestScore > < LastVisit > 2008-03-03 LastVisit > < BestScore > 286866 BestScore > < NumbeOfVisits > 565 NumbeOfVisits > < PlayerName > sendbab PlayerName > < PlayerID > 3 PlayerID > < Player >
|
|