[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] msxsl command line transformation trouble


Subject: RE: [xsl] msxsl command line transformation trouble
From: "David Schach" <davidsch@xxxxxxxxxxxxx>
Date: Wed, 18 Apr 2001 10:48:04 -0700

It's not a control character.  The output is unicode.

-----Original Message-----
From: bill french [mailto:bill@xxxxxxxxxxxxxxxx] 
Sent: Wednesday, April 18, 2001 10:06 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] msxsl command line transformation trouble

hello,

using the msxsl command line transformation tool seems to be working ok,
with the exception of one thing. the output (both to standard out and to
a file) contains a control character between every other character. i'd
appreciate any help at all. see below:

oh yeah - i'm using msxml3 as my parser.

my xml doc:

<?xml version="1.0" standalone="no"?>
<?xml-stylesheet href="display-stuff.xsl" rel="stylesheet"
type="text/xsl"?>

<staff>
	<employee>
		<first-name>xxx</first-name>
		<last-name>yyy</last-name>
		<mobile-phone>xxx-yyy-zzzz</mobile-phone>
	</employee>
	
	<employee>
		<first-name>xxx</first-name>
		<last-name>yyy</last-name>
		<mobile-phone>xxx-yyy-zzzz</mobile-phone>
	</employee>
	
	<employee>
		<first-name>xxx</first-name>
		<last-name>yyy</last-name>
		<mobile-phone>xxx-yyy-zzzz</mobile-phone>
	</employee>
</staff>



my xsl doc:

<?xml version="1.0"?>

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/staff">
<html>
<head><title>employees</title></head>

<body bgcolor="#ffffff">

<xsl:for-each select="employee">
<h3><xsl:value-of select="first-name" /><xsl:text>
</xsl:text><xsl:value-of select="last-name" /></h3>
phone number: <xsl:value-of select="mobile-phone" /><br />
</xsl:for-each>
</body>
</html>
</xsl:template>

</xsl:stylesheet>

 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
Keywords