|
|
|
|
|
Total Hits: 312 | Today: 0 |
Author: Jayram Tallamraju
|
Rating:
|
|

XSLT is an excellent technology that adds more power to XML. XSLT is a language by itself like most other programming languages. It is the language to transform source data structure to destination data structure and may not be suitable to implement business logic. This means that existing programming languages go hand in hand with XSLT and XSLT adds more power to them. It is possible to get away from XSLT using XML DOM to some extent, but this solution is usually not as elegant in most data/doc...
|
|
|
|
Total Hits: 233 | Today: 0 |
|
Rating:
|
|

Sorting the output result tree and the use axis....
|
|
|
|
Total Hits: 675 | Today: 0 |
Author: Peter A. Bromberg, Ph.D.
|
Rating:
|
|

We needed a way to handle accountholder signature images to be transported in XML in such a way that the image of the person's signature (or really, any binary data) could be transported in the same XML text stream as the other account information in such a way that it wouldn't choke our COM components that process these XML streams, and the processed results to be displayed via CLIENT SIDE script in a web page. This technique can be used to populate formfields in a document for printing, or any...
|
|
|
|
Total Hits: 229 | Today: 0 |
|
Rating:
|
|

PHP provides this extension which contains processor independent functions for XSLT transformation. The current version (v 4.3.10) of this extension only supports the Sablotron library from the Ginger Alliance. Support is planned for other libraries, such as the Xalan library or the libxslt library....
|
|
|
|
Total Hits: 298 | Today: 0 |
|
Rating:
|
|

Whitespace stripping is one of the more confusing subjects in XSLT programming. What is important to understand is at which moments whitespace can be inserted or removed. The only whitespace that gets stripped are text nodes existing entirely of whitespace characters (space, tab, newline). If one non-whitespace character is included in the textnode, it will never be stripped....
|
|
|
|
Total Hits: 282 | Today: 0 |
|
Rating:
|
|

Extensible Stylesheet Language Transformation (XSLT) is all about handling and formatting the contents of Extensible Markup Language (XML) documents. XML has become a very hot topic, and now it's XSLT's turn. XML enables you to structure the data in documents, and XSLT enables you to work with the contents of XML documents - manipulating the content and creating other documents, such as when you sort an XML employee records database or store that data in an HTML document - and to format that dat...
|
|
|
|
Total Hits: 265 | Today: 0 |
Author: Martin Rowlinson
|
Rating:
|
|

This part examines the issues solely around how much information should be used in the match attribute of, for example, the element. Disregard for a moment, if you will, the actual definition for the use of the match patterns so that we can concentrate solely on the relative performance of their use and misuse....
|
|
|
|
Total Hits: 306 | Today: 0 |
Author: Martin Rowlinson
|
Rating:
|
|

There occassionally rages the debate over which is the 'best' out of Attribute Normal and Element Normal XML. Without getting drawn into that debate on an architectural front I'd like to examine the 'facts' on a performance front, especially with regard to XSLT performance....
|
|
|
|
Total Hits: 205 | Today: 0 |
Author: Slawomir Tyszko
|
Rating:
|
|

An alternative solution to Dimitre Novatchev's way of avoiding XSLT processor crash due to deep recursive processing. This solution does not relinquish recursion, but drastically reduces its depth by using two named recursive templates instead of just one....
|
|
|
|
Total Hits: 256 | Today: 0 |
Author: Dimitre Novatchev
|
Rating:
|
|

An XSLT implementation of an algorithm is presented for the generation of all combinations of k numbers out of n (k <= n)....
|
|
|
|
Total Hits: 322 | Today: 0 |
Author: Don Kackman
|
Rating:
|
|

A small XSL stylesheet that defers the actual transformation to an XSLT stylesheet...
|
|
|
|
Total Hits: 250 | Today: 0 |
Author: Don Kackman
|
Rating:
|
|

A named template that will halt an XSLT tranformation and reutrn some helpful state information...
|
|
|
|
Total Hits: 233 | Today: 0 |
|
Rating:
|
|

This example demonstrates how to replace carriage returns with a break in XSLT. It is also a generic template for handling any search and replace....
|
|
|
|
Total Hits: 339 | Today: 0 |
Author: Dimitre Novatchev
|
Rating:
|
|

This is a FAQ, because there are no greater/less string comparison operators in XPath and XSLT....
|
|
|
|
Total Hits: 219 | Today: 0 |
Author: Dimitre Novatchev
|
Rating:
|
|

Using the Muenchian method, the following snippet describes how to group your data, returning a distinct, unique list of data. In many XSLT applications it is necessary to output only a single element that has a specific value (e.g. for an attribute, of a child, of a combination of attributes, of a combination of children, ..., etc.)...
|
|
|
|
Total Hits: 246 | Today: 0 |
|
Rating:
|
|

So many people have said that you cannot do For Each - Next looping in XSLT. This snippet demonstrates how to do this using recursion....
|
|
|
|
Total Hits: 147 | Today: 0 |
|
Rating:
|
|

This snippet describes how to build an HTML select box with select items in XSLT....
|
|
|
|
Total Hits: 235 | Today: 0 |
Author: Dimitre Novatchev
|
Rating:
|
|

Higher order functions can be implemented in XSLT, some explanations through these examples....
|
|
|
|
Total Hits: 193 | Today: 0 |
Author: David Silverlight
|
Rating:
|
|

This snippet contains a collection of 5 distinct approaches to combining multiple XML Documents into a single XML document. The original article is also included as part of this snippet....
|
|
|
|
Total Hits: 208 | Today: 0 |
Author: David Silverlight
|
Rating:
|
|

The following samples correspond to the "Shedding a little light on XML" Q&A column for a past XML Journal article on recursion. I coded about half of the examples and included recursion examples from other contributors....
|
|
|
|
|
|
|