[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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)
carriage return xslt
Jonathan_Wheelhouse@xxxxxxxxxx wrote:
> Using the  MSXML July release, this code,  &#xD; 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.