Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Converting a xml STRING displaying a long date, to dd/mm/yyyy

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 12/30/2008 12:34:00 PM
Savvoulidis Iordanis wrote:
> Can the System.xml.xsl.xsltargumentlist.addparam be used to create CSV files 
> (output="text") ? I declare and call the  xslt.Transform function exactly 
> like the example but I get the following message:
> 
> "Token Text in state Start would result in an invalid XML document. Make 
> sure that the ConformanceLevel setting is set to ConformanceLevel.Fragment or 
> ConformanceLevel.Auto if you want to write an XML fragment. "
> 
> I tested it on another XSLT file with output="xml" and the parameter thing 
> worked OK.

Don't transform to an XmlWriter if you want text output, instead 
transform to a TextWriter
http://msdn.microsoft.com/en-us/library/ms163438.aspx
or to a Stream
http://msdn.microsoft.com/en-us/library/ms163437.aspx

-- 

	Martin Honnen --- MVP XML
	http://JavaScript.FAQTs.com/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent