This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DocBook XSL stylesheet loses whitespace with MSXML


> > From tinkering with the test document, it seems like MSXML 
> > is dicarding any whitespace-only text nodes in the <screen> element.
> 
> This is known bug/feature of MSXML. It removes all white-space only
> nodes from source tree.

After tinkering with an example from MSDN...

<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcexml
xs/htm/ceconReleaseNotesHandlingWhiteSpaceWithMSXMLProcessor.asp>

It looks like it's whitespace-only nodes in the *output* document that
get stripped by MSXML, not those in the input document. Does this jive
with your knowledge of the issue, or am I way off track?

> You can invoke MSXML manually by some script and turn off whitespace
> stripping (there is property on parser object for doing this). You can
> find more info in MSXML SDK.

Hmm... I really need Internet Explorer to be able to produce the desired
output. Is there nothing I can change in the stylesheet to remedy this
problem? A MSXML-specific processing instruction, maybe?

___________________________________

Kevin Yank
Technical Business Director
SitePoint.com - Master the Web!

e: kevin@sitepoint.com
w: www.sitepoint.com
p: +61 3 9495 6622
___________________________________



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]