مقدمه ای برای XSLT

چند بار در مورد
XSLT شنیده بودم اما
هیچ چیز به جز آنکه به XML مربوط می شود نمی دانستم.
وب سایت محترم Developer Channels  بر
اساس کتاب تازه منتشر شده



XSLT 2.0 Web Development
یک سری مقاله در معرفی XSLT
تهیه کرده است که برای من مقدمه ای بود برای آشنایی با این زبان.جدیدا ترجیح می دهم
به جای ترجمه مقاله هایی که از آن ها لذت می برم فقط آن را معرفی کنم.به شما هم
خواندن این سری مقاله ها را توصیه می کنم.می تواند نقطه شروعی برای کار با این زبان
باشد/



An overview of XSLT

XSLT is a wonderful, truly
data-oriented (as opposed to algorithm-oriented) language where
everything Just Works. You must have a good grasp of some basic
concepts (admittedly, somewhat unusual from other languages’
viewpoint), but after that, most of your code will likely work the
first time you run it. XSLT and XPath are so high-level that you can actually
think about what you want to do with your data, not
how.



XSLT: Taming a functional language

A functional program, as the name implies, consists of functions.
Unlike those in conventional programming languages, however, these
functions are absolutely independent from each other. Each function
has a set of arguments and returns a value, but it cannot produce —
or be affected by — any side effects. In other words, if you
pass the same set of arguments to a function, you will always get
the same result, no matter at what point of program execution this
happens or what other functions were called before it.



Overview of an XSLT stylesheet

The basic idea of XSLT is this: Run into a context, invoke the
corresponding template. Templates usually constitute the bulk of
a stylesheet’s code. But are all templates created equal? There are
several meaningful distinctions that you should keep in mind when
building your template library.

4 دیدگاه دربارهٔ «مقدمه ای برای XSLT»

دیدگاه‌ها بسته شده‌اند.

پیمایش به بالا