- markup (52)
- xml (7)
- xslt (21)
- atom (8)
- overlapping markup (2)
- schema (9)
- creole (4)
- xforms (1)
- pipelines (7)
- coding (2)
- dtll (1)
- genealogy (3)
- gtd (1)
- hardware (1)
- legislation (1)
- ontologies (2)
- unicode (1)
- web (24)
- google (3)
- rdf (6)
- rest (3)
- wikis (1)
- work (1)
- xpath (1)
- xquery (1)
- xtech2008 (3)
- life (26)
- children (5)
- equality (6)
- environment (4)
- gadgets (5)
- software (3)
- xlinq (2)
- conferences (7)
- xtech (6)
- blog (7)
- drupal (3)
Re: Big XSLT applications just got easier to manage
The cure for this is not to call templates in the imported module, but to use tamplate references.
So, instead of:
one would write:
There will be no redundand code in the imported module — just the namespace to which “f” is bound needs to be the same in both the imported and the importing modules.
In the importing module, instead of
one would have this:
To summarise, this is a demonstration of a good practice to design modularised XSLT applications, which totally avoids the problem of preventing the imported module from being able to exist stand-alone.
Cheers,
Dimitre Novatchev