background preloader

Xslt

Facebook Twitter

Docbook

Json. Xalan-J 2.0 Design. Author: Scott BoagState: In Progress Introduction This document presents the basic design for Xalan-J 2.0, which is a refactoring and redesign of the Xalan-J 1.x processor. This document will expand and grow over time, and is also incomplete in some sections, though hopefully overall accurate. The reader should be able to get a good overall idea of the internal design of Xalan, and begin to understand the process flow, and also the technical challenges. The main goals of this redesign are to: Make the design and code more understandable by Open Source people. The techniques used toward these goals are to: In general, flatten the hierarchy of packages, in order to make the structure more apparent from the top-level view. The goals are not: To add more features in the progress of this refactoring. How well we've achieved the goals will be measured by feedback from the Xalan-dev list, and by software metrics tools. Xalan Requirements Java, C++ Versions.XSLT 1.0 conformance, and beyond.

XPath. Filtrage de doublons avec XSLT 1.0. Comment filtrer les doublons avec XSLT 1.0. Méthodes "classique" et "muenchian" Eric van der Vlist, Dyomedea (vdv@dyomedea.com).jeudi 31 mars 2005 Table des matières Question Méthode "classique" Méthode "muenchian" Contexte Clés XSLT Filtrage des doublons à l'aide d'une clé XSLT Avantages et inconvénients de la méthode "muenchian" Et en XPath/XSLT 2.0? Références Question Dans le document suivant : <? Je souhaite afficher la liste de tous les personnages (éléments "character") en filtrant les doublons (chaque personnage ne doit apparaître qu'une seule fois même s'il figuer dans plusieurs livres.

Méthode "classique" Pour sélectionner tous les personnages, nous écririons la requête XPath suivante : /library/book/character Cette méthode n'effectue aucun filtrage et elle sélectionne toutes les occurrences de l'élément "character" lorsqu'il est inclus dans un élément "author" lui-même inclus dans l'élément racine "library". Les éléments "character" figurant dans plusieurs éléments "book", tels que l'élément : Getting Started with XSLTC.