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

Re: method='text' ... whitespace problems

Subject: Re: method='text' ... whitespace problems
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 19 Nov 2002 11:58:58 GMT
method text
  Go on, I'll ask :-)

  How does this help please David?
  DaveP.

well I was refering to the "fact" that 
in the xml output method an xslt 1 system can write #10 in a system
specific manner (ie do the opposite of what an xml parser does
in normalising line endings to #10)

so in xml output

<xsl:text>
</xsl:text>

(or equivalently>
<xsl:text>&#10;</xsl:text>
)

may produce an msdos style #13 #10 pair on output if on a windows
machine and a single #10 on unix and a single #13 on macs, etc.



however I've just read that section of xslt1 again and it doesn't
explictly say that a system may do that although it doesn't say it
can't and doing so would still meet the constraint that

  In addition, the output should be such that if a new tree was
  constructed by parsing the wrapper as an XML document as specified in
  [3 Data Model], and then removing the document element, making its
  children instead be children of the root node, then the new tree would
  be the same as the result tree, with the following possible
  exceptions: 


hmm..


David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 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.