XML Basics2

 <?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE mydoc[

 <!ELEMENT mydoc(address,name,company,phone)>

 <!ELEMENT address (#PCDATA)>

 <!ELEMENT name (#PCDATA)>

 <!ELEMENT company (#PCDATA)>

 <!ELEMENT phone (#PCDATA)>

]>

<mydoc>

<address>

  <name>Tejanth</name>

  <company>oracle</company>

  <phone>6281104020</phone>

</address>

</mydoc>

Comments

Popular posts from this blog

Swayamvar Program In Python

VALDATION IN JAVASCRIPT