Like most good ideas, XML is basically a very simple idea that can be put to good use in many situations. It is not intended to be a direct replacement for the general-purpose markup that is provided by HTML describing how content should be displayed. Instead XML ofers a means to define and construct other custom markup languages with tags you name yourself and rules which you define for how those tags can be used. So because XML is a language that describes other language it is termed as being a 'meta-language'.
The two words that should be most strongly associated with any definition of XML are 'structure' and 'data'.
Custom markup languages constructed in XML will arrange data in a structured manner so it can be accessed and manipulated in a variety of ways. For instance, you could use XML to create a custom markup language called 'EruptML' to describe the data on all active volcanoes.
Using data in a XML document often employs other XML technologies which are explored in the later topics.
elow is the sample hightlighing for xml
Here is how I did it.
At first downloaded Syntax-Highter to highlight source-codes in my blogs.
- Downloaded Syntax-Highter
- Uploaded to my personal space http://www.samundra.com.np
- Main files to be uploaded are
- dp.SyntaxHighlighter/Scripts/clipboard.swf
- dp.SyntaxHighlighter/Scripts/shBrushJava.js
- dp.SyntaxHighlighter/Scripts/shCore.js
- dp.SyntaxHighlighter/Styles/SyntaxHighlighter.css
- dp.SyntaxHighlighter/Scripts/clipboard.swf
- Added link of uploaded file to my blog template.
XML (eXtensible Markup Language)
XML has been created to overcome some of the limitations that are found in the Hypertext Markup Language (HTML). Because HTML is so hugely popular many of its features have been incorporated into XML and will seem familiar if you know a little about HTML.
The two main applications for XML are the pulication of web pages and the exchange of information.
Focus here :
- Teach the beginner about XML syntax, schemas, links, transformation and styling.
- Minimal knowledge of HTML
- Read, write and comprehend, a basic javascript (not needed to be expert coder, or a Javascript guru)
XML is a cross platform technology but the Microsoft Internet Explorer web browser best supports XML features. Consequently all the featured examples relate to Internet Explorer on the Windows Platform.
The code in a X L document must be processed by a small application called a 'parser'. The MSXML parser can be freely downloaded from the web at http://msdn.microsoft.com/downloads and comprises a single file named msxml4.msi. This files uses the Windows Installer to install the parser on your computer. Recent versions of the windows Operating System include the Windows Installer but this can be freely downloaded from Microsoft if required.