Web Services

SOAP IN Web services

SOAP Tutorial

adplus-dvertising
Elements In RDF
Previous Home Next

Element is an essential part of a component, bits, segment, etc.<Description> element and <RDF> element are the RDF elements that identifies a resource. Explanation about this element are describe below.

<rdf:RDF> element: It is the root element. It defines the XML document and it also contain reference of the RDF namespace.

Example

<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.indo.org/rdf-syntax-ns#">
  ..follow...by..description...
</rdf:RDF>
 

<rdf:Description> element: This element identifies a resource with the attribute being used. Element (e.g.; country, company, year) contain those elements which describe the resource. These elements are defined in the http://www.recshop.fake/cd# namespace and it is define outside RDF.

Example

<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.indo.org/rdf-syntax-ns#"
xmlns:ob="http://www.mytreattechnology.fake/ob#">
<rdf:Description
rdf:about="http://www..fake/cd/Office SouthEx">
  <ob:country>India</ob:country>
  <ob:company>Mytreat</ob:company>
  <ob:year>2011</ob:year>
</rdf:Description>
</rdf:RDF>
Previous Home Next