- 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: Things that make me scream: xml:space="preserve" in WordML
From the few samples that I have lying around it seems that word2007 still puts everything on one line (in the zipped file) but does now move the xml:space attributes just on to the text run elements, not on the document element. It’s not that surprising that MS generated XML puts xml:space everywhere even in places where a reading of the XML spec would suggest that it isn’t needed, as their XML parsers have a well known “feature” that they strip white space by default, whatever the XML spec says about preserving it.
Perhaps It’ll make you scream but I tend to stick xml:space=”preserve” on the top level html element of xhtml files, to give IE a slight hint that inter word spaces perhaps ought to be rendered as spaces rather than being helpfully optimised away…
David