what is the easiest way to remove the ‘T’ from the result?
I want the result to be ‘YYYY/MM/DD HH/MM/SS’
the vb.net code is really straight forward
xmlDoc = New Xml.XmlDataDocument(data_set) xslTran = New Xml.Xsl.XslCompiledTransform xslTran.Load(strXslFile) writer = New Xml.XmlTextWriter(strHtmlFile, System.Text.Encoding.UTF8) xslTran.Transform(xmlDoc, Nothing, writer) writer.Close()
thanks!
You could also use the substring-before and substring-after functions in your XSLT file.
Alternatively, you could make use of the translate function, to replace a T with a space.