<? XML version =”1.0”?> <Employees> <Employee> <name>saiteja</name> <Id>2434</Id> </Employee> </Employees>
Id not there then instead of <Id>2430</Id> write <Id/>
When write the XML document follow the below instructions
<? XML version =”1.0”?> <Numbers > <Number > <Num1 >10</Num1 > <Num2>20</Num2> </Number > </Numbers >
Inclined to build a profession as Oracle SOA Admin?
Then here is the blog post on, explore Oracle SOA Admin Training
<? XML version = “1.0”?> <Schema> <element name=”employees”> <Complex type> <Sequence> <element name= “employee”> <complex Type> <sequence> <Element name =”Name” type =”string”/> <Element name =”Id” type =”int”/> <Element name =”location” type =”string”/> </sequence> </complex Type> </element> </sequence> </complex Type> </elements> </Schema>
XSD: It is used to define the data types of respective XML
<simple type name = “Name type”> <restriction type/ base= “string”> <enumeration value =”sai”/> <enumeration value =”Teja”/> <enumeration value =”XYZ” /> </restriction> </simple type>.
<? XML version = “1.0”?> <target Name space =”http://TCS.com/add2 numbers”> <Schema> <element name=”employees” Type = “employee Type”/> <element name=”customer” Type = “employee Type”/> <complex Type name=”employee Type/”> <Sequence> <element name=”Name” Type = “string”/> <element name=”Eid” Type = “int”/> </Sequence> </complex Type> </element> </schema>
(or) It is address of any of artefacts -> XML, XSD, XSLT, XQuery, WSDL
<? XML version = “1.0”?> <target Name space =”http://TCS.com/item”> <Schema> <element name=”Item” Type = “Item Type”/> <complex Type name=”Item Type/”> <Sequence> <element name=”item id” Type = “int”/> <element name=”price” Type = “int”/> </Sequence> </complex Type> </element> </schema>
Oracle SOA Interview Questions |
<? XML version = “1.0”?> <target Name space =http://oracle.com/customer> XMlns : item =” http://Tcs.com/item” - <types> <import name space =”http://TCS.com/item”> schema location =”tem.XSD” </types>
<? XML version = “1.0”?> <target Name space =http://TCS.com/customer> XMlns : item =” http://Tcs.com/item” - <types> <nclude schema location = “item .XSD”> </types>
<? XML version = “1.0”?> <Customers> <Customer> <name> Ramesh </name> <id> 12345</id> <loc> hyd</loc> </Customer> <Customer> <name> Ramesh1 </name> <id> 121121</id> <loc> bngl</loc> </Customer> </Customers>
49=50-1 Note: Total records 50
XSD: It is used to define the data types of respective XML.
You liked the article?
Like: 0
Vote for difficulty
Current difficulty (Avg): Medium
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.