Subject: RE: [xsl] EXSLT implementation in .NET From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx> Date: Wed, 23 Feb 2005 12:54:18 -0600 |
Hi Karl, I've read this thread and see that I've got to add this topic to my list. And M. David, thanx for handling this issue, while I was abroad. Cheers, <prs/> -----Original Message----- From: Karl Stubsjoen [mailto:kstubs@xxxxxxxxx] Sent: Tuesday, February 15, 2005 4:34 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] EXSLT implementation in .NET You are correct; I wasn't using the proper wrapper, and since we are on the subject, do you prefer to use the wrapper or the EventArgs and add the name extension? Here is what I have working: XmlDocument xmlDoc = new XmlDocument(); ExsltTransform xslT = new ExsltTransform(); XmlTextWriter writer = new XmlTextWriter("..sample_results.xml", null); ... xslT.Transform(nav,xslArgs,writer); On Tue, 15 Feb 2005 14:39:44 -0700, M. David Peterson <m.david.x2x2x@xxxxxxxxx> wrote: > It is the correct namespace and if I would have read the first half of > your message I would have realized that. How are you calling the > transformation process? > > This error obviously suggests it it having troubles locating the > extension function but you obviously already knew this. The only > thing that comes to mind is that you havent referenced the assembly > properly and as such you are still accessing System.Xml.Xsl namespace > methods instead of the EXSLT wrapper to the methods. What language > are you writing this in and are you calling this from an ASP.NET > script or directly in a C# or VB source file? > > > On Tue, 15 Feb 2005 14:12:49 -0700, Karl Stubsjoen <kstubs@xxxxxxxxx> wrote: > > I think. And, I have installed and referenced the > > GotDotNet.Exslt.DLL with my project. Isn't this the correct namespace? > > > > xmlns:date="http://exslt.org/dates-and-times" > > > > On Tue, 15 Feb 2005 13:54:01 -0700, M. David Peterson > > <m.david.x2x2x@xxxxxxxxx> wrote: > > > Do you have the proper namespace declared? > > > > > > > > > On Tue, 15 Feb 2005 13:51:38 -0700, Karl Stubsjoen <kstubs@xxxxxxxxx> wrote: > > > > Is this off topic? > > > > I have the following: > > > > xmlns:date="http://exslt.org/dates-and-times" exclude-result-prefixes="date" > > > > > > > > I get the follwing error: > > > > Cannot find the script or external object that implements prefix 'date'. > > > > > > > > My implementation of it looks like this: > > > > <xsl:value-of select="date:date(.)"/> > > > > > > > > Any ideas how to get this to fly in .NET? > > > > > > > > Karl > > > > > > > > > > > > > > -- > > > <M:D/> > > > > > > :: M. David Peterson :: > > > XML & XML Transformations, C#, .NET, and Functional Languages > > > Specialist > > > > > > -- > <M:D/> > > :: M. David Peterson :: > XML & XML Transformations, C#, .NET, and Functional Languages > Specialist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] EXSLT implementation in ., Karl Stubsjoen | Thread | [xsl] issue with check box, Mathew, Manoj |
Re: [xsl] Navigating XML when loade, António Mota | Date | Re: [xsl] xsl recursion, Dimitre Novatchev |
Month |