What Is XSLT
XSLT is a declarative programming language, written in XML, for converting XML to some other
output. Often the output is XML or HTML, but in principle, XSLT can produce arbitrary output from any given XML source document
In a common scenario, two companies need to exchange XML documents electronically but for
historical reasons have differences in the structures of basic documents such as invoices and purchase orders
Procedural versus Declarative Programming
When using a procedural programming language such as JavaScript, you tell the computer what you
want to do step by step. You might define a function, and then define each thing that the computer is supposed to do, assigning a variable, iterating through a loop, and so on. The mental picture of what the function is supposed to achieve exists only in your mind
The procedural programming approach differs from declarative programming in that you tell the computer what you want to achieve. XSLT resembles SQL in that respect. For example, in SQL you tell the relational database management system (RDBMS) to SELECT certain columns, but you don’t expect to tell it how to retrieve the desired data. XSLT is similar. You specify what the XSLT processor is to create each time it comes across a particular pattern in the source tree
XSL - More Than a Style Sheet Language
XSL consists of three part
XSLT - a language for transforming XML documents
XPath - a language for navigating in XML documents
XSL-FO - a language for formatting XML documents
XSLT Uses XPath ...HOW ? PLZ GIVE ME CHANCE TO SAY HOW :) OK ..OK
XSLT uses XPath to find information in an XML document. XPath is used to navigate through elements and attributes in XML documents
XSLT uses XPath to define parts of the source document that should match one or more predefined templates. When a match is found, XSLT will transform the matching part of the source document into the result document
In next article i will make simple example for XSLT and show its component ...Salam Alikm now
1 التعليقات:
Hi mr Ahmed
Iam Ahmed Abd Elmaksod
the young brother to Mohamed Abd Elmaksod in ITEC Company ....
I've taken a small course with you before and I'de like to keep in touch with you but unfortunately,you have changed your mobile number and I donot know where can I find you.
So... I hope to send me your E-mail or number to call you as I want you.
Send me at this
Amd.net@hotmail.com
إرسال تعليق