[Yanel-dev] Xopus 3 resource type started

Michael Wechner michael.wechner at wyona.com
Sun Sep 7 13:42:06 CEST 2008


Michael Wechner schrieb:
> Hi
>
> I have started an Xopus 3 resource type at
>
> https://svn.wyona.com/repos/public/yanel/contributions/resources/xopus3
>
> Documentation on how to use it can be found at
>
> http://127.0.0.1:8080/yanel/yanel/resource-types/http%3a%2f%2fwww.wyona.org%2fyanel%2fresource%2f1.0%3a%3axopus3/yanel/doc/index.html 
>
>
> whereas it doesn't do much yet.

I have made some progress and realized that the "XML resource" is 
dropping the namespaces when applying an XSLT, where it's very important 
to have them in order to have Xopus parse the XHTML+xml correctly

<       <xml><config version="1.0"><pipeline xsd="sample.xsd" 
xml="sample.xml"><view name="WYSIWYG View"><transform xsl="sample.xsl"/>
< </view>
< <view name="XML View"><treeTransform/>
< </view>
< </pipeline>
< </config>

does NOT work
---
 >       <xml><x:config version="1.0" 
xmlns:x="http://www.xopus.com/xmlns/config"><x:pipeline xsd="sample.xsd" 
xml="sample.xml"><x:view name="WYSIWYG View"><x:transform xsl="sample.xsl"/>
 > </x:view>
 > <x:view name="XML View"><x:treeTransform/>
 > </x:view>
 > </x:pipeline>
 > </x:config>

does work.

Cheers

Michi
>
> Cheers
>
> Michi
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development



More information about the Yanel-development mailing list