Tuesday, 16 November 2010

AWT- Presenting XML

How XML can be presented?

# XML, illustrate how the data should be prepared. XML uses tags and attributes like a HTML does. However, XML uses these tags only to delimit pieces of data, leaving the interpretation of the data up to the application that receives and reads it. So in order to present it, CSS is a one of an appropriate way of laying out pages in a organized manner directly from the XML document. And it also gives a way to allow most browsers to view XML without falling over. But, as CSS is very limited in what it can do to the data before it is shown on screen. And it certainly can't operate the data in any real way. The XSL was introduced. Its standard includes two basic parts:
XSL Transformations (XSLT): These are mostly used mostly to rewrite XML into other XML applications. These are well used and know to be as a standard process.
 XSL Formatting Objects (XSL-FO): This standard is exercised to create a formatted output such as PDF files; which provide demand control of layout and presentation that isn't possible with either XSLT or CSS.

These two languages are designed to achieve different tasks as it shares many features. XSLT transforms one XML-based markup language into another, whereas XSL-FO is designed specially for creating a display or view of XML data in paged-media formats.

By making use of this process, we can display the XML document. 

No comments:

Post a Comment