This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XML data to MS-Excel??



	>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]