[Yanel-dev] Documentation of BasicXMLResource and setting of
mime-types
Michael Wechner
michael.wechner at wyona.com
Tue Dec 4 08:27:53 CET 2007
simon litwan wrote:
> Michael Wechner schrieb:
>
>> Hi
>>
>> Is the usage of the BasicXMLResource documented somewhere resp. how
>> does the following custom config work?
>
> it's not documented yet.
would you be interested to document this ;-) ?
Cheers
Michi
>>
>> <yanel:custom-config>
>> <views>
>> <view id="default" type="jelly">
>> <template>/usecases/default.jelly</template>
>> </view>
>
> there was a description in the bug:
> http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=5624
>
> <yanel:custom-config>
> <views>
> <view id="default">
> <mime-type>text/html</mime-type>
> <xslt>/xslt/global.xsl</xslt>
> <serializer key="HTML_TRANSITIONAL">
> <omit-xml-declaration>yes</omit-xml-declaration>
> <doctype-public>-//W3C//DTD XHTML 1.0
> Transitional//EN</doctype-public>
>
> <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</doctype-system>
>
> </serializer>
> </view>
> <view id="source">
> <mime-type>application/xml</mime-type>
> </view>
> <view id="xhtml">
> <mime-type>application/xhtml+xml</mime-type>
> <xslt>/xslt/global.xsl</xslt>
> <serializer key="XHTML_STRICT"/>
> </view>
> <view id="test">
> <mime-type>text/html</mime-type>
> <xslt>/xslt/viewtest.xsl</xslt>
> <xslt>/xslt/global.xsl</xslt>
> </view>
> </views>
> </yanel:custom-config>
>
>
> HTH
> simon
>
>>
>>
>> Also is it possible to define within such a custom config a mime type
>> per view?
>>
>> Thanks
>>
>> Michi
>>
>
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
--
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 Yanel-development
mailing list