Tutorial Details
- Judul: Strukture xml
- Difficulty: Beginner
- Platform: -
- Bahasa Scripth: XML
- Software :Notepad++
- Estimated Completion Time: 15 minutes
- Created:Ricko Nada (Pustaka Flash)
Top Line :
<?xml version="1.0" encoding="utf-8"?>
Penerapan :
contoh 1 :
<?xml version="1.0" encoding="utf-8"?> <Flavors>Chocolate</Flavors> <Flavors>Strawberry</Flavors> <Flavors>Vanilla</Flavors>
Penerapan dengan attribut
contoh 2 :
<?xml version="1.0" encoding="utf-8"?> <Tutor name="John"> <subject>CSS</subject> <website>www.Pustakaflash.co.cc</website> </Tutor> <Tutor name="Susan"> <subject>Flash CS5</subject> <website>www.Pustakaflash.co.cc</website> </Tutor> <Tutor name="Gregory"> <subject>PHP</subject> <website>www.Pustakaflash.co.cc</website> </Tutor>
Penerapan dengan add comment
contoh 3 :
<?xml version="1.0" encoding="utf-8"?> <!-- ini adalah comment di xml --> <myCar> <make>Jeep</make> <model>Liberty</model> <color>black</color> </myCar>
5 Halaman yang sering dikunjungi:
0 komentar:
Post a Comment