The symbols: hyphen
-
, under-score
_
and period
.
are allowed in element name. The XML example is valid
<?xml version="1.0" encoding="UTF-8"?>
<student>
   <first-name>George</first-name>
   <phone.mobile>(011) 123-4567</phone.mobile>
   <native_language>English</native_language>
   <city />
</student>
by Valeri Tandilashvili
4 years ago
XML
XML elements
XML Tutorial
0
Pro tip: use ```triple backticks around text``` to write in code fences