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

RE: Collapsing run-on tag chains not working in saxon

Subject: RE: Collapsing run-on tag chains not working in saxon or xa lan
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Tue, 2 Nov 2004 18:51:59 -0600
mxsl from command line
On the client there is a way, using version-specific MSXML class instances.
But that restricts you to having to be able to control the client machines,
in this case probably only Intranets where you can control which MSXML each
client has installed, or extranets where you ask each client to install say
MSXML 4.0 prior to running your application.

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx] 
Sent: Tuesday, November 02, 2004 5:03 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Collapsing run-on tag chains not working in saxon or xa
lan


> with mxsl.exe is that it shows the output with spaces inserted after 
> each

most likely not spaces but zero bytes, it outputs in utf16 by default. so
for ascii you get a zero byte between each non zero byte.

> OK, thanx Michael and David, let me see if we can fix that problem 
> using
> msxsl.exe:

There is no problem getting msxsl to do the right thing, you just get msxml
parser to act in a conformant way by setting its preservewhitespace property
to true (I think the msxsl wrapper has a command line switch for this) or it
is just a line in the API, the main thing it kills is the application that
XML was designed for: serving XML to be styled on the client browser. If you
serve xml to IE and style it via the xml-stylesheet PI then there is no API
to ask for a conformant parser, so you get a non conformant one and you lose
word spaces.

David



________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The service is powered
by MessageLabs. For more information on a proactive anti-virus service
working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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.