[Osr-101] Misleading neutron specs example

Thomas Comiotto comiotto at rcfmedia.ch
Wed Aug 2 19:21:21 CEST 2006


>
>> Now what Michi wrote about the interleaved schemas and styles: that 
>> would be one document source, multiple schemas and multiple styles, 
>> but only applied to parsed out content.
>>


Ah, I think I see.. Ok, let the server parse out the relevant fragments 
and you have a good example for a document-set containing docs with 
individual schema & style attached. If we want to provide client side 
support for parsing out editable fragments that could be done so..

<!-- Replaced fileset by resource-set. Added xpointer support -->

<edit>
   <resource-set>
     <resource url="page.xml#element(/page/sidebar)">
       <schema url="sidebar.xsd"/>
       <style url="sidebar.xsl"/>
     </resource>
     <resource url="page.xml#element(/page/content)">
       <schema url="content.xsd"/>
       <style url="content.xsl"/>
     </resource>
     <style url="page.xsl">
       <template url="page.xml"/>
     </style>
   </resource-set>
</edit>

Besides providing schema entry points the xpointers also provide the 
client with info on how to glue together resources with respect to 
WYSIWYG editing, but only if resource urls point to the view template 
(the not editable 'document source' containing the fragments). 
Otherwise the client would have to fall back to one WYSIWYG view per 
resource.

Let's summarize what we have so far and maybe add some more:)

--
Bests
Thomas

> --
> Bests
> Thomas
>
>
> _______________________________________________
> Osr-101 mailing list
> Osr-101 at wyona.org
> http://wyona.com/cgi-bin/mailman/listinfo/osr-101
>




More information about the Osr-101 mailing list