[Yanel-dev] Setting XSL for a resource's view

Michael Wechner michael.wechner at wyona.com
Thu Oct 7 18:20:28 CEST 2010


  On 10/7/10 1:13 PM, basZero wrote:
> hi,
>
> can somebody tell me what prefixes

you mean the protocols/schemes? (like rthtdocs, ...)

> are allowed withing the custom-config section in a resource.xml?
>
> <yanel:custom-config>
> <views>
> <view id=3D"default" type=3D"XML">
> * <xslt>rthtdocs:/registration.xsl</xslt>*
> * <xslt>yanelhtdocs:/html.xslt</xslt>*
> * <xslt>*
>
> yanelrepo:<myrealmname>:app
>
> **:/app/html.xslt</xslt>**
> <mime-type>application/xhtml+xml</mime-type>
> </view>
> <view id=3D"xml" type=3D"XML">
> <mime-type>application/xml</mime-type>
> </view>
> </views>
> </yanel:custom-config>
>
> I only know that the third option (starting with yanelrepo) is working.
> But as I would be interested in hosting the XSLs in the htdocs folder,

which htdocs folder? The one of the resource type?

I guess you are using the XML resource type which extends the =

BasicXMLResource, right?

Cheers

Michael
> I would like to know the syntax for other allowed configurations.
>
> Thanks
> Cheers
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wyona.org/pipermail/yanel-development/attachments/2010100=
7/6df9e897/attachment.htm


More information about the Yanel-development mailing list