Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - XML, XSL and format dates [Thread Next] RE: XML, XSL and format datesTo: NULL Date: 6/14/2004 12:32:00 AM Hi nobody, I had tried to send an e-mail but your e-mail direction is not available. my e-mail is atejadav@w... See you. "Otto" wrote: > Good Morning, I am spanier a VB.net programmer, and I like to export a DataSet to a XML file, I am making this with and make to a XSL file to give a format, this is good, but my problem is with the w3c format date I need to convert in another format,gor this I am using this code in my XSL file > > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:msxsl="urn:schemas-microsoft-com:xslt" > xmlns:dates="urn:schemas-microsoft-com:datatypes"><xsl:output method="html" encoding="UTF-8"/><xsl:template match="/"><xsl:for-each select='NewDataSet/Tabla'><TR><td><xsl:value-of select="msxsl:format-date(dateval, 'MMMM dd, yyyy')" /></td></TR></xsl:for-each></TABLE> > > but when I view the XML file with the iExplorer this gives me this error > No se puede mostrar la página XML > No se puede ver la entrada XML con la hoja de estilo XSL. Corrija el error y haga clic en el botón Actualizar, o inténtelo de nuevo más tarde. > > El espacio de nombres 'urn:schemas-microsoft-com:xslt' no contiene la función 'format-date'. -->msxsl:format-date(dateval, 'MMMM dd, yyyy')<-- > > > Can you help me. > Thanks. I am sorry I don’t speak English very well. > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
