Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Converting a xml STRING displaying a long date, to dd/mm/yyyy >Thread Next - Re: Converting a xml STRING displaying a long date, to dd/mm/yyyy Re: Converting a xml STRING displaying a long date, to dd/mm/yyyyTo: NULL Date: 12/22/2008 1:08:00 AM
I tried to execute the transformation using the XML excerpt I sent
previously and the XSL you posted inside an ASP.NET (vb) page.using the
following code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
Dim xsl As New XslCompiledTransform
xsl.Load(Server.MapPath("~/XSLTFile.xslt"))
xsl.Transform(Server.MapPath("~/XMLFile.xml"),
Server.MapPath("~/XMLCSV_file.csv"))
End Sub
but I get the message
"Execution of the 'document()' function was prohibited. Use the
XsltSettings.EnableDocumentFunction property to enable it. An error occurred
at ..."
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
