Archive | XML RSS feed for this section

Generate XSD from XML files

April 12, 2012

0 Comments

XSD is the XML schema definition for defining the XML elements in the XML document. Prior to the XML schemas, DTDs are used which are not XML document and has the limitations. XSD is most popular because of the extensibility and the validations for the XML files. You can set the validation rules for the [...]

email

What is XPath?

April 3, 2009

0 Comments

Processing XML documents with Oracle JDeveloper 11g While a number of books on XML are available, none covers XML support in Oracle JDeveloper. Welcome to Processing XML documents with Oracle JDeveloper 11g, a book that will teach you about using Oracle XML technologies in Oracle JDeveloper. XML is the standard medium of data exchange. Examples of data exchange using [...]

XML Schema Elements – Part2

March 25, 2009

0 Comments

Complex Elements Complex elements are those which contain other elements as children or these elements have attributes. Empty elements and elements containing only text are also considered complex. The following is an examples of complex element 1 2 3 4 5 6 <employee grade="senior"> <id>745821</id> <empName>Tim</empName> <salary>35000</salary> <domain>Insurance</domain> </employee> Define Complex Type in XML schema [...]

XML Schema Elements

March 21, 2009

0 Comments

XML schema is a language for describing the contents and structure of a XML document. It basically creates a blue print of the actual XML document by describing everything about the elements which can appear in the document. By creating a XML schema we make the XML document conform to the rules defined in the [...]

Creating XSLT documents

March 12, 2009

2 Comments

Introduction XSLT is used for the transformation of XML documents into XHTML. We know that HTML uses predefined set of tags which can be interpreted by the browser. However this is not true for XML documents. XML does not use predefined set of tags. Hence, if we open an XML document in browser we cant [...]

How to use XLink and XPointer?

March 12, 2009

0 Comments

XLink In HTML we use anchor tags to create hyperlinks. On the same lines we can create hyperlinks in an XML document using XLink. With XLink we can define two types of link : simple and extended. Simple links are links similar to HTML links and extended links are used for linking multiple resources together. [...]

How to Query XML using XPath

March 12, 2009

2 Comments

How to Query XML using XPath Introduction XML Documents are nothing until some kind of Components called Parsers parses the Documents to extract the meaningful data. Some of the most popular DOM parsers are the Simple API for XML (SAX) and Document Object Model (DOM). Both these parsers have their own advantages and disadvantages in parsing [...]

XQuery Syntax

March 5, 2009

0 Comments

XQuery is a concept very similar to SQL. As sql is used to query database tables we can use XQuery to query XML data. Xquery can be used to query XML documents, data which is in XML syntax and databases. Using XQuery we can find XML elements. This can be very useful in situations when [...]

What is RSS and Atom?

December 19, 2008

0 Comments

About this book RSS and Atom are the most widely used of many content syndication formats that have developed over the last few years to address the need to distribute and receive streams of content from websites and applications. Sites syndicate content for a broad variety of reasons, from replacing email as a medium for [...]

Writing simple ANT build script

July 24, 2008

4 Comments

Apache Ant Example This article explains how to write a very basic ANT build script. This does not explain indepth knowledge on building your project using ANT script. But, this writeup will be more useful for the beginners who haben’t writen any ANT script before. Before start writing the script, lets look into how to [...]