C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » XML »

Xml Overview


Posted Date: 28 Jul 2009    Resource Type: Articles    Category: XML
Author: PunitMember Level: Gold    
Rating: 1 out of 5Points: 8



What is XSL



XSL is Extensible Stylesheet Language that support reorder,sort,display of elsements based on condition.

XSL has two parts,

XSL Transformation(XSLT):The XML based language allows to transform an XML documents into other format such as HTML,XHTML.

XML Path(Xpath): This language is used to access part of XML such as elements and attributes.

XSLT uses Xpath expression to extract specific part of XML documents.

What is XSLT Processor



The XSLT processor is packaged with Microsoft XML parser. The MSXML parser is used to parse XSLT document. The MSXML parser parses XSLT stylesheet and creates tree structure based on the elements and attributes. The tree is referred as XSLT tree.The XSLT processor takes the transformation information contained in XSLT stylesheet, applies it to the data retrieved from the source documents and build the result tree. This result tree is used for various targets such as web browsers, cell phones etc.

XSLT Elements



XSLT supports following elements to format the data,

Stylesheet
Value-of
For-each
Sort
Text

Stylesheet: A stylesheet declaration is added to XSLT file to instructs it is stylesheet file.

Syntax,


Value-of: This element displays value of specified elements or attribute.

Syntax,


For-each: The elements instructs XSLT processor to process information for each instance of the specified pattern.
Syntax,

[Action to be performed]


pattern can values as element,parent/child,ancestor//child.

Sort:e element is used to sort based on the value specified for elements and attributes.

Syntax,


expression represents element name.

Application of XSL



Conversion of XML into HTML.
Used in web browser.
Cellular phones.



Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
XML OVERVIEW  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: XML Basics
Previous Resource: How to bind XML in radio button list
Return to Discussion Resource Index
Post New Resource
Category: XML


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use