- 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: Readable regexs
Yes, Dimitre, if you access a stylesheet using
document(), you can get at things such as whitespace outside<xsl:text>, non-XSLT elements at the top level of the stylesheet, and, indeed, comments. If you access a stylesheet usingunparsed-text(''), you can even get at serialisation details such as whether double or single quotes have been used around attribute values, and precisely how much whitespace has been used within a tag.But when the document is loaded and compiled as a stylesheet, these things are ignored. The value of the
$UKDatevariable doesn’t include the comments, or less-than-signs, or any other indication that there were comments in the stylesheet.