|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Calling functions from XSLTs
In order to invoke self defined functions from within XSL stylesheet, 1.You can add extension objects to XsltArgumentList and invoke any methods on those from within your style sheet. OR 2.Use msxsl:script. There is no restriction on the namespaces you can use inside msxsl:script. However only certain namespaces are supported by default (i.e there is no need to fully qualify the namespaces when using classes from these namespaces). These are:- System System.Collection System.Text System.Text.RegularExpressions System.Xml System.Xml.Xslt System.Xml.XPath Microsoft.VisualBasic Classes can still be used outside of the namespace, except that the name must be namespace qualified. e.g. System.Diagnostics.Process -- PITHY WORDS OF WISDOM Your successes will happen in private and your failures in full view of everyone. This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. (c) 2002 Microsoft Corporation. All rights reserved. > -----Original Message----- > From: Amit Rai [mailto:insouciant_23@h...] > Sent: Monday, April 22, 2002 10:59 AM > To: xml-dev@l... > Subject: Calling functions from XSLTs > > > Hi All, > > Is there any way of calling self defined functions from > within an XSLT code? AFAIK one can invoke 3 libraries through > .NET (using scripts) - System, System.XML and MSCoreLib. I > would like to access my own functions and datastructres from > within the scripts in XSLTs. Is there any way to do that? > > Thanks > amit > > > > > > > > > > > > > > > > > > ----------------------------------------------------------------- > The xml-dev list is sponsored by XML.org > <http://www.xml.org>, an initiative of OASIS <http://www.oasis-open.org> The list archives are at http://lists.xml.org/archives/xml-dev/ To subscribe or unsubscribe from this list use the subscription manager: <http://lists.xml.org/ob/adm.pl>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








