[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Problems with whitespace and msxml
> > In other words, the value of xml:space should _not_ affect the > information that msxml returns to your application; instead, it is up > to your application to read the value, if present, and to take > appropriate action. Msxml should return all whitespace, no matter > what. > > I have heard rumours that xml:space may some day be removed from the > core XML spec and put into a separate "XML Conventions" spec -- that > would be a very good idea. David- Thanks. Oddly enough, though according to MS' docs: -- Section 2.10 says that xml-space can be specified on any element controlling whether white space is preserved or normalized. The default is to normalize white space (which means unify all white space characters down to a single space). To preserve whitespace set xml-space to preserve, and this is inherited down the hierarchy. To switch back to the default, set xml-space to default -- Well, nomatter what I do it doesn't seem to do anything with the xml-space attribute. Moreover, it doesn't seem to actually set the attribute for any of my elements. For example, getAttribute(...) always returns null for xml-space. xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|