RE: [xsl] XML data to MS-Excel??

Subject: RE: [xsl] XML data to MS-Excel??
From: "Hillyard, Matthew" <matthew.hillyard@xxxxxxxxxx>
Date: Thu, 1 Feb 2001 10:34:19 -0000
	>I want to convert my xml data to Ms-Excel can some one suggest me
how to start?

	Output *just* the values of the nodes you want (without mark-up)
into a TAB-delimited file
	- which you can then just import into Excel.

	Use <xsl:text>&#9;</xsl:text> to create TABs.

	If you have missing or empty nodes in your source, you will have to
maintain the column
	order of the output with something like:

	<xsl:choose>
	 <xsl:when test="./YourNodeName">
	  <xsl:apply-templates/><xsl:text>&#9;</xsl:text>
	 </xsl:when>
	 <xsl:otherwise><xsl:text>&#9;</xsl:text></xsl:otherwise>
	</xsl:choose>

	Hope that helps,
	Matt H





-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity
to whom they are addressed.  If you have received this email in error please notify the system manager.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread