R4R Team working to provide free of cost for experienced and freshers

Tutorials | Examples|Interview Questions and Answers|Java Tutorials| C Tutorials | C++ Tutorials | Spring Tutorials| Hibernate Tutorials | JSP Tutorials | Servelets Tutorials| C# Tutorials | PHP Tutorials etc , Basics | Download Software | Data Types | Variables | Constant | Storage & Classes | Operators | Decisions Making | Loops | Functions| Numbers | Arrays | Pointers | String | Datastructure | Expressions | Preprocessor Statement | I/O | Exception Handling | OOPs Tutorial | Classes and object |C++ Inheritance Overloading | Polymorphism | Abstraction | Encapsulation | Interfaces | Multithreading etc

Web Services

SOAP IN Web services

SOAP Tutorial

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