gpt-4o-2024-11-20· OpenAI
WildChat-4.8M (AI2)
Buatkan contoh kode xml
- User
Buatkan contoh kode xml
- Assistant
Berikut ini adalah contoh kode XML sederhana untuk mendeskripsikan sebuah buku di sebuah perpustakaan digital:
<?xml version="1.0" encoding="UTF-8"?> <library> <book> <title>Belajar XML untuk Pemula</title> <author>Jane Doe</author> <publisher>Penerbit Teknologi</publisher> <year>2023</year> <genre>Teknologi</genre> <price currency="IDR">75000</price> </book> <book> <title>Pemrograman Web</title> <author>John Smith</author> <publisher>Code Publisher</publisher> <year>2021</year> <genre>Komputer</genre> <price currency="IDR">120000</price> </book> <book> <title>Desain UI/UX</title> <author>Sarah Johnson</author> <publisher>Creative Media</publisher> <year>2022</year> <genre>Desain</genre> <price currency="IDR">105000</price> </book> </library>Penjelasan: