Hi, Thanks for the info. I figure I will have to do the following, load a template, on template load the parameters are set. The user can add, edit parameters on their own, and call the transformation when ready to do so.
Cheers, Bryan Rasmussen -----Oprindelig meddelelse----- Fra: Svante Schubert [mailto:[EMAIL PROTECTED] Sendt: 9. januar 2006 15:17 Til: [email protected] Emne: Re: [xml-dev] parameters to filters Hi Bryan, Bryan Rasmussen wrote: > Hi Michael > > Well first off there are a lot of stylesheets out there that use parameters > from the processing application to determine processing start points, the > second use case is I've built a stylesheet-based cross-media transformation > solution that I wanted to port to OpenOffice and it requires the ability to > pass parameters. Currently it is not possible, but it is on our wish list, that will be overworked soon, I keep you informed. But there are already some default parameters being used as you might see in the sources of XSLTransformer.java from [1] sourceURL sourceBaseURL targetURL targetBaseURL publicType systemType The missing documentation about the default parameters might be good placed aside the missing information about the XSLT processor being used. :-) > > Let me ask this then, does anyone have an example of a macro that catches an > import/export event and executes some code before allowing the event to go > forward? No, AFAIK this is not possible. > > -----Original Message----- > From: Michael Wechner > To: [email protected] > Sent: 08-01-2006 13:04 > Subject: Re: [xml-dev] parameters to filters > > Bryan Rasmussen wrote: > > >>Is there any way to send parameters to an xslt filter, either at time > > of > >>import or export? >> >> > > > Sorry that I cannot help resp. don't know, but being curious, what > usecase do you have? > -Svante [1] - http://framework.openoffice.org/unbranded-source/browse/*checkout*/framework /filter/source/xsltfilter/XSLTFilter.java?rev=HEAD&content-type=text/plain --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
