[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: Sep MSXML: Carriage Return, #XD, Does Not Work
Subject: Re: Sep MSXML: Carriage Return, #XD, Does Not Work From: Mike Brown <mike@xxxxxxxx> Date: Mon, 23 Oct 2000 12:29:25 -0600 (MDT) |
Jonathan_Wheelhouse@xxxxxxxxxx wrote: > Using the MSXML July release, this code, 
 suffixed by ;) within a text > element within an attribute element Text, attributes and elements are separate concepts. Are you actually referring to attribute values, or the text content of elements? White space is handled differently therein. Show an example of your XML or XSLT code. > used to output a carriage return in the html; that's what we wanted. > > Now (using the September MSXML release) it doesn't - just outputs something like > #xA. The same XSL & XML files work with instant Saxon. The explanation is probably in here: http://www.w3.org/TR/xslt#strip http://www.w3.org/TR/REC-xml#AVNormalize http://www.w3.org/TR/xslt#creating-attributes [NOTE at end] It depends on what exactly you are doing. Provide a code sample. This brings up an interesting oversight in the XSLT spec; the NOTE referenced above should not be limited to newlines; it should also apply to CRs and tabs, as well. - Mike ____________________________________________________________________ Mike J. Brown, software engineer at My XML/XSL resources: webb.net in Denver, Colorado, USA http://www.skew.org/xml/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Sep MSXML: Carriage Return, #XD, Do, Jonathan_Wheelhouse | Thread | RE: Sep MSXML: Carriage Return, #XD, Andrew Kimball |
selection problem in mixed-content, Richard Lander | Date | import Traversal, Benoit Cerrina |
Month |