Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML, XSL and format dates

From: "Kindler Chase - nCubed" <support@--------------.--->
To: NULL
Date: 6/3/2004 9:19:00 AM
Otto wrote:
> After executed the code you have given me, I know that in my computer
> have FOUND: Msxml2.DOMDocument.3.0
>
> FOUND: Msxml2.DOMDocument.4.0 but when I like to see the XML file
> with the XSL, it said the same:
>
> 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')<-- 

Sorry, but my Spanish is horrid; not really sure what the above error is
saying. However, you've got the format wrong:

ms:format-date(dateval, 'MMMM dd, yyy')

Notice prefix is 'ms', not 'msxsl'

You also need to make sure you include this namespace in your head:

xmlns:ms="urn:schemas-microsoft-com:xslt"

HTH's
-- 
kindler chase
http://www.ncubed.com
Home of SuperInvoice: The Online Invoicing Application.
Organize your billing process and impress your clients.

news://news.ncubed.com/support
n3 Support Group




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