<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-builtin:yes;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        mso-style-builtin:yes;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        mso-style-builtin:yes;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-builtin:yes;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.gmailquote
        {mso-style-name:gmail_quote;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.q
        {mso-style-name:q;}
span.e
        {mso-style-name:e;}
span.sg
        {mso-style-name:sg;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The best thing you could do for Saxon.NET right now is to
support ICustomTypeDescriptor in addition to supporting Reflection. The
one downside is that ICustomTypeDescriptor isn’t as comprehensive as
Reflection.Emit – for example it doesn’t support calling
methods. But it does support getting properties. So you’ll
want to back that up w/ Reflection, and hopefully in time there’ll be a solution
which will encompass all of these.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Segoe UI","sans-serif"'>From:</span></b><span
style='font-size:9.0pt;font-family:"Segoe UI","sans-serif"'>
users-bounces@lists.ironpython.com [mailto:users-bounces@lists.ironpython.com] <b>On
Behalf Of </b>M. David Peterson<br>
<b>Sent:</b> Tuesday, September 05, 2006 2:27 PM<br>
<b>To:</b> Discussion of IronPython<br>
<b>Subject:</b> Re: [IronPython] ipy support in msxsl:script blocks<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>btw, the newly released docs in
regards to develping extension functions for Saxon on .NET are located @ <a
href="http://www.saxonica.com/documentation/extensibility/dotnetextensions.html">http://www.saxonica.com/documentation/extensibility/dotnetextensions.html
</a><o:p></o:p></p>
<div>
<p class=MsoNormal><span class=gmailquote>On 9/5/06, <b>M. David Peterson</b>
<<a href="mailto:xmlhacker@gmail.com">xmlhacker@gmail.com</a>> wrote:</span><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'>Worth noting, from my post
earlier today (<a
href="http://www.oreillynet.com/xml/blog/2006/09/mhksaxon_saxon_88basic_and_sch_1.html"
target="_blank">http://www.oreillynet.com/xml/blog/2006/09/mhksaxon_saxon_88basic_and_sch_1.html
</a>) regarding the release of Saxon on .NET 8.8,<o:p></o:p></p>
<pre>* in the .NET product, extension functions written in C# or other .NET<br>
languages can now be invoked<o:p></o:p></pre>
<p class=MsoNormal><br>
While the same is more than likely true in regards to the ability to access
extension functions written in Python, this is one area I can help with more so
than anything else as this was a significant area of study and development I
put into Saxon.NET before handing over the reigns to Dr. Kay in February.
In addition, with his guidance, I've since continued forward in working
on various areas of research and development. With this in mind, in
regards to,<o:p></o:p></p>
</div>
<div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>
<p class=MsoNormal style='margin-bottom:12.0pt'><span class=q><o:p> </o:p></span></p>
<p class=MsoNormal>We'll need to work w/ some other teams within the company to
make sure we can get the right amount of support in the right places to make
this all come together. Thanks for bringing this to our attention.<o:p></o:p></p>
</blockquote>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>While for obvious reasons I can't help with the internal
System.Xml.Xsl code base, I can help with the Saxon.NET code base. If I
can be of help, please let me know :) <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br>
<span class=e><o:p></o:p></span></p>
<div>
<p class=MsoNormal><span class=gmailquote>On 9/5/06, <b>Dino Viehland</b> <<a
href="mailto:dinov@exchange.microsoft.com" target="_blank">
dinov@exchange.microsoft.com</a>> wrote:</span><o:p></o:p></p>
<p class=MsoNormal>The answer to this appears to be no - The XSL processor uses
Reflection to try and discover the method to be called. In
IronPython reflection won't tell you what methods are available. We
do support the ICustomTypeDescriptor interface which is another way to get this
information (which enables scripting WPF), but unfortunately XSL isn't falling
back to that. <br>
<br>
We'll need to work w/ some other teams within the company to make sure we can
get the right amount of support in the right places to make this all come
together. Thanks for bringing this to our attention. I'm
not going to open a bug on this (because it's not necessarily an IP issue) but
I believe we will be tracking this one (and similar issues) closely. <br>
<br>
<br>
From: <a href="mailto:users-bounces@lists.ironpython.com" target="_blank">users-bounces@lists.ironpython.com</a>
[mailto:<a href="mailto:users-bounces@lists.ironpython.com" target="_blank">
users-bounces@lists.ironpython.com</a>] On Behalf Of Jesse Wiles <br>
Sent: Tuesday, September 05, 2006 8:00 AM<br>
To: Discussion of IronPython<br>
Subject: [IronPython] ipy support in msxsl:script blocks<br>
<br>
Hi,<br>
<br>
Can I script XSL extension objects using Iron Python?<br>
<br>
Jesse Wiles <br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.ironpython.com" target="_blank">users@lists.ironpython.com</a>
<br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com"
target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><o:p></o:p></p>
</div>
<p class=MsoNormal><br>
<br clear=all>
<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span class=sg>-- </span><br>
<span class=sg>/M:D</span><br>
<br>
<span class=sg>M. David Peterson</span><br>
<span class=sg><a href="http://mdavid.name" target="_blank">http://mdavid.name</a>
| <a href="http://www.oreillynet.com/pub/au/2354" target="_blank">http://www.oreillynet.com/pub/au/2354</a>
</span><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal><br>
<br clear=all>
<br>
-- <br>
/M:D<br>
<br>
M. David Peterson<br>
<a href="http://mdavid.name">http://mdavid.name</a> | <a
href="http://www.oreillynet.com/pub/au/2354">http://www.oreillynet.com/pub/au/2354
</a><o:p></o:p></p>
</div>
</body>
</html>