![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XSL Tranformation XSL TranformationTo: NULL Date: 5/6/2004 9:21:00 AM Hello I need to convert xml files into csv files to be bulk loaded into an oracle database. On Solaris boxes using Xerces/Xalan the following xsl works just fine, however in dot net framework using Microsoft parsers how could I control "newlines" - CRLF in the resulting file. So if the xml wer <root><row><ListOfficeId>ABC </ListOfficeId><ListAgentId>123</ListAgentId></row><row><ListOfficeId>DEF </ListOfficeId><ListAgentId>456</ListAgentId></row></root The result should b RES!~ABC!~12 RES!~DEF!~45 e.g <?xml version="1.0"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:output omit-xml-declaration="yes"/><xsl:template match="root"><xsl:for-each select="row"><!--MLSID--><xsl:text>RES!~</xsl:text><xsl:value-of select="ListOfficeId" disable-output-escaping="yes"/>! <xsl:value-of select="ListAgentId" disable-output-escaping="yes"/>! ...and so on | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
