Subject: RE: [xsl] Accessing external variables From: "Dave Johnson" <djohnson@xxxxxxxxxxxxxxxxxx> Date: Wed, 25 Jan 2006 12:42:16 -0000 |
In Mozilla you use the following to set parameter values. void setParameter(in DOMString namespaceURI, in DOMString localName, in nsIVariant value); The entire interface for Mozilla can be found here: http://lxr.mozilla.org/seamonkey/source/content/xslt/public/nsIXSLTProcessor .idl On the other hand IE uses the addParameter method such as: objXSLProcessor.addParameter(baseName, parameter, namespaceURI); The Microsoft XML DOM reference is here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html /d051f7c5-e882-42e8-a5b6-d1ce67af275c.asp Cheers, Dave http://www.ebusiness-apps.com http://blogs.ebusiness-apps.com/dave -----Original Message----- From: viniciuscamara@xxxxxxxxxxxx [mailto:viniciuscamara@xxxxxxxxxxxx] Sent: 25 January 2006 05:49 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Accessing external variables Michael, I'm using javascript to processor my XML. I invoke some javascript methods on the page's load. These methods depends of the browser's type. To IE browser I'm using (Microsoft.XMLDOM), and to Firefox the object XMLHttpRequest. Works very welll and good performance. I'm using in J2EE project. So, now, how I said, I need to pass parameters to my XSL file. Are possible? Do U need more information? Thankx! ----- Original Message ----- From: "Michael Kay" <mike@xxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Tuesday, January 24, 2006 9:05 PM Subject: RE: [xsl] Accessing external variables > May I use (xsl:param) with external params (My XSL file > receive theses > params)? Yes. The way you actually supply the parameter values depends on the processor you are using, and the API you are using to invoke it. Michael Kay http://www.saxonica.com/ > > Best Regards > > ----- Original Message ----- > From: "Michael Kay" <mike@xxxxxxxxxxxx> > To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> > Sent: Monday, January 23, 2006 2:43 PM > Subject: RE: [xsl] Accessing external variables > > > The simplest solution is to supply the values as a parameter > (xsl:param) to > your stylesheet at the time you invoke the transformation. > > Michael Kay > http://www.saxonica.com/ > > > -----Original Message----- > > From: viniciuscamara@xxxxxxxxxxxx > > [mailto:viniciuscamara@xxxxxxxxxxxx] > > Sent: 23 January 2006 12:45 > > To: XSL List > > Subject: [xsl] Accessing external variables > > > > Good morning Fellows, Friends and all, > > I developing the control access in my app java and use the > > XSL to transfom > > the XML. No big problems, only one little problem. I need to > > access the > > menus names to application.resources because I use IIE8 in my app. > > Is it possible my XSL receive application.resources' names by > > parameter? or > > better, Is it possible my XSL read the application.resources? > > > > Thank You, > > Best Regards, > > > > Vinicius Cbmara de Oliveira > > viniciuscamara@xxxxxxxxxxx > > viniciuscamara@xxxxxxxxxxxx > > viniciuscamara@xxxxxxxxx > > > > > > > > > > > > > > _______________________________________________________ > > Yahoo! doce lar. Faga do Yahoo! sua homepage. > > http://br.yahoo.com/homepageset.html > > > > > > > _______________________________________________________ > Yahoo! doce lar. Faga do Yahoo! sua homepage. > http://br.yahoo.com/homepageset.html _______________________________________________________ Yahoo! doce lar. Faga do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Accessing external variab, Michael Kay | Thread | Re: [xsl] Accessing external variab, viniciuscamara |
[xsl] collecting ALL nodes with a s, Alexander Stippler | Date | Re: [xsl] collecting ALL nodes with, Geert Josten |
Month |