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

RE: running msxml3 from command line

Subject: RE: running msxml3 from command line
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Mon, 31 Jul 2000 22:36:07 +0100
msxml crlf
Thanks Andy,
Hadn't got to that message yet.

>-----Original Message-----
>From: owner-xsl-list@xxxxxxxxxxxxxxxx
>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Andrew Kimball
>Sent: 31 July 2000 21:45
>To: 'xsl-list@xxxxxxxxxxxxxxxx'
>Subject: RE: running msxml3 from command line
>
>
>Excerpted from a previous response:
>
>When we parse an XML document, we strip all non-significant (no
>xml:space in
>scope) space by default and replace it with bit flags that mark where space
>existed at one time (this cuts down the  memory footprint significantly).
>When the document is passed to the XSL processor, the processor cannot
>determine what whitespace was originally present within the xsl:text
>element, so it outputs
>a single space by default.  There are several ways to get the output you
>desire, ordered from least expensive (in terms of parse time and memory
>usage):
>	- Use an entity to specify a significant whitespace character --
><xsl:text>&#xA;</xsl:text>
>	- Use xml:space on the xsl:text element -- <xsl:text
>xml:space="preserve">(CR here)</xsl:text>
>	- Instruct the parser to preserve all space --
>dom.preserveWhiteSpace = true before calling dom.load
>
>FYI, if you're wondering if this is conformant, see my response to Mike
>Brown's message earlier today.
>
>~Andy Kimball
>MSXSL Dev
>
>-----Original Message-----
>From: Chris Bayes [mailto:Chris@xxxxxxxxxxx]
>Sent: Monday, July 31, 2000 1:43 PM
>To: xsl-list@xxxxxxxxxxxxxxxx
>Subject: RE: running msxml3 from command line
>
>
>After a little investigation on the dirtoftp.xslt stylesheet the problem is
>with the xml:space="preserve" on the template <xsl:template match="/"
>xml:space="preserve">
>I added this as the only way to get all 3 (xt,saxon,msxml) to output crlf
>between
>
><xsl:template match="/">open <xsl:value-of select="$host" />
><xsl:value-of select="$username" />
><xsl:value-of select="$password" />
>
>I tried this
>
><xsl:template match="/">open <xsl:value-of select="$host" />
><xsl:text>
></xsl:text>
><xsl:value-of select="$username" />
><xsl:text>
></xsl:text>
><xsl:value-of select="$password" />
><xsl:text>
></xsl:text>
>
>but only xt and saxon honoured the crlf (ok lf). msxml STILL doesn't honour
>the crlf.
>Does anyone know I can solve this?
>
>TIA Chris
>
>
>>-----Original Message-----
>>From: owner-xsl-list@xxxxxxxxxxxxxxxx
>>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Chris Bayes
>>Sent: 31 July 2000 21:05
>>To: xsl-list@xxxxxxxxxxxxxxxx
>>Subject: RE: running msxml3 from command line
>>
>>
>>I can't say without seeing your docs but that is an error from the parser
>>itself not the script. I just installed the july release and am
>getting odd
>>errors on stylesheets that did run on the last one. See
>>dirtoftp.xslt. Works
>>fine in xt and saxon and the last release but spits the dummy with
>>Keyword xsl:apply-templates may not contain PCDATA nodes.
>>ho hum
>>
>>>-----Original Message-----
>>>From: owner-xsl-list@xxxxxxxxxxxxxxxx
>>>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Sebastian Rahtz
>>>Sent: 31 July 2000 12:11
>>>To: xsl-list@xxxxxxxxxxxxxxxx
>>>Subject: running msxml3 from command line
>>>
>>>
>>>Chris Bayes writes:
>>> > sheesh i can't type
>>> > oh well it is friday evening and i should be down the pub
>>> > http://www.bayes.co.uk/xml/index.xml?/xml/utils/translate.xml
>>> >
>>>does this work for anyone? the Microsoft IE5.5 + July update which I
>>>just installed says that its an invalid XML declaration
>>>
>>>sebastian
>>>
>>>
>>> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>>
>>
>> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.