- 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: Incomplete implementations #1: Atom in IE7
The use of the default namespace in the Atom feed means that the
<feed>,<entry>etc. elements are in the Atom namespace.In your stylesheet, you’re doing:
When you select elements in XSLT, if you don’t give a prefix for the element then the processor will only look for elements in no namespace. So in this case you’re selecting
<feed>elements in no namespace and their<entry>element children (in no namespace again).You already have the Atom namespace declared in the stylesheet with the prefix
atom. The solution is simply to use that prefix whenever you refer to an Atom element: