Pharma Fileformat
Pharma Fileformat
Example 1 gender is an attribute
Example 2 gender is an element
XML Elements
Will go for elements when data is to be extended
Rule 8: XML Schema's
W.K.T XML helps us to store & transfer the data.
When sending data from one application to an another, it is
essential that both applications have the same "expectations /
agreement" about the content/data.
for example, A date like "03-11-2004" -in some countries, be
interpreted as 3rd November and -in other countries as 11th
March.
There are two ways to define a Schema for XML
1.Document Type Definition (DTD)
2.XML Schema Definition (XSD)
XML-PARSAR(JAXB)
JAXB is a Java API helps us to convert Java Object to XML &
vice-versa
The Process of converting Java Object to XML is called as
"Marshalling" OR "Serialization “
The Process of converting XML to Java Object is called as
"Unmarshalling" OR "Deserialization”