XML Basics
XML is interpreter language.
XML is Universal format of communication between the systems.
XML is Universal format of communication between the systems.
Basic 5 rules need to follow
1. One root element only allowed
2. All tags are case sensitive
3. Proper nesting of tags are essential
4. Values of attributes should be in double quotes
5. All elements are closed properly with end tags.
Attribute Vs Element
If the data must be updated frequently, it is better represented as an element because it is easier to edit elements than attributes using XML editing tools.
If the data must be updated frequently, it is better represented as an element because it is easier to edit elements than attributes using XML editing tools.
1. In case of frequently change of data set as element than attribute
2. If data is not changing frequently add it as attribute.
Name Spaces
Used to differentiate the elements in the same document.
Query contains the following features
Query contains the following features
- DOM element selections using the cross-browser open source selector engine Sizzle, a spin-off out of the jQuery project
- DOM traversal and modification (including support for CSS 1-3)
- Events
- CSS manipulation
- Effects and animations
- Ajax
- Extensibility through plug-ins
- Utilities - such as browser version and the each function.
- Cross-browser support