[Osr-101] Client side XSLT parameters
Michael Wechner
michael.wechner at wyona.com
Fri Jul 13 12:31:58 CEST 2007
Andreas Wuest wrote:
> Hi
>
> On 11.7.2007 16:03 Uhr, Michael Wechner wrote:
>
>> Hi
>>
>> At the Lenya hackathon Thomas suggested to introduce client side XSLT
>> parameters as by enhancing the introspection as follows:
>>
>> <introspection>
>> <resource>
>> <edit>
>> <style href="/foo/bar.xsl">
>> <parameter name="" value=""/>
>> ...
>>
>>
>> I think that would make a lot of sense.
>
>
> I agree.
btw, I have added an amendment
http://neutron.wyona.org/amendments/xslt-parameters.html
>
> From a protocol perspective we have to be a bit cautious though. First
> of all, we have this <style> element. Is this XSL only, or do we want
> to use this for different things (e.g. CSS, etc.)?
good question, so far I think we only considered XSLT, but I guess CSS
would also make sense.
What did we implement in the case of Yulup? I guess only XSLT?
>
> If we exlusively want to use it for XSL, then I'm fine with the above.
> If we also want to use it for CSS, etc., then parameters might not
> make sense for certain styles.
well, we could add a mime-type attribute, e.g
<style mime-type="text/css" href="/foo/bar.css"/>
<style mime-type="application/xhtml+xml" href="/foo/bar.xsl">
<parameter name="....
>
> But maybe we should simply introduce a @type attribute for the style,
> which tells us what kind of style it is. If there are parameters for a
> CSS style, then it is simply ignored by the client.
you mean like I describe above?
Cheers
Michi
--
Michael Wechner
Wyona - Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61
More information about the Osr-101
mailing list