xsl-list
[Top] [All Lists]

RE: EXSLT implementation in .NET

2005-02-23 11:54:18
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(_at_)gmail(_dot_)com] 
Sent: Tuesday, February 15, 2005 4:34 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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(_dot_)david(_dot_)x2x2x(_at_)gmail(_dot_)com> 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(_at_)gmail(_dot_)com>
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(_dot_)david(_dot_)x2x2x(_at_)gmail(_dot_)com> wrote:
Do you have the proper namespace declared?


On Tue, 15 Feb 2005 13:51:38 -0700, Karl Stubsjoen 
<kstubs(_at_)gmail(_dot_)com>
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

--~-------------------------------------------------------------
----- XSL-List info and archive:  
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--
<M:D/>

:: M. David Peterson ::
XML & XML Transformations, C#, .NET, and Functional Languages 
Specialist

--~---------------------------------------------------------------
--- XSL-List info and archive:  
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~-----------------------------------------------------------------
- XSL-List info and archive:  
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--
<M:D/>

:: M. David Peterson ::
XML & XML Transformations, C#, .NET, and Functional Languages 
Specialist

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>