On Tue, 21 Sep 2004 10:39:45 +0200, "Eric van der Vlist"
<[EMAIL PROTECTED]> said:
> Hi Dan,
> 
> On Tue, 2004-09-21 at 10:16, [EMAIL PROTECTED] wrote:
> > > > a.) Attached is a zip that contains a modified version of your xmlfr
> > > >     search page.  
> > > 
> > > 
> > > I don't see any attachment. It has probably be either forgotten or
> > > removed by the list server!
> > 
> > That would be my fault.  Trying again...
> 
> That's better :-) ...
> 
> I should have given more context about what I am trying to achieve,
> sorry for that.
> 
> I have a couple of comments on your adaptation of my sample.
> 
> First, XMLfr being dedicated to XML, I want to serve XHTML (not HTML)
> documents (thus my xmlns="http://www.w3.org/1999/xhtml"; in affiche.xsl
> and the fact that I am using the XML serializer in cherche.xpl). I am
> wondering if the Saxon crash you are seing with cherche2.xpl isn't due
> to the fact that you are using the transformation to output HTML.

Ah if only life were that simple..  No there is something weird with
Xalan and assignment to default namespace.   It ends up generating
a SAX event that Saxon later chokes on.  Still don't have all the
details.
Do know that given the 'right' set of circumstances even a superflous
xmlns='foo-namespace' would result in an exception.

Btw, wrt to serving up xhtml... We noticed you weren't using the 
epilogue.  Is this the reason why?

> 
> Second, I'd like to use the technique I have described as "style-free
> stylesheets" http://www.xml.com/pub/a/2000/07/26/xslt/xsltstyle.html and
> give the ability to the creators of the pages to define the content of
> their pages using building blocks defined in the page flows and
> pipelines.
> 
> That's why, instead of aggregating the search result and the page
> template in the pipeline definition, I'd like to pull the search result
> into the page template in the XSLT transformation.
> 
> Technically, that may seem not a big deal but in one case the creator or
> editor of a web page needs to modify the pipeline and in the other case
> he has just to edit his/her page.  

Heh, you had me wondering if I sent the wrong file...  However I checked
I sent the correct thing. 

Unfortunately this leaves me a bit confused.  Isn't the latter
( editor just needs to edit his page ) still the case after my mods?
That is, I made no changes to cherche.xhtml.

Btw, it is very good that you sent that link.  The follow up I 
referred to before was to include an attachment that would show
how to do things the 'Presentation Server' way.  After reading
the article I am pretty sure that the 'Presentation Server'
way and 'Eric's Way' are different ways of achieving common
goals.  _very_ roughly the mapping is something like

XML content files (10% presentation + 90% data)       --> model
+ XML specific layout (10% data + 90% presentation)   --> view
+ XML generic layout (100% presentation)              --> epilogue
+ XSLT file (90% logic + 10% presentation)            --> epilogue
-------------------------------------------------
(X)HTML.

Where model, view, and epilogue are pipelines
and part of the larger pipeline

  model --> view --> epilogue

and the model brings some collection of xml documents
into pipeline, the view takes care of any page
specific presentation, and the epilogue takes
care of general site presentation.

Hopefully tomorrow someone here can put together
that followup.  

> 
> I could generate the pipeline definition dynamically from the layout
> page (ie, seeing that the author wants to include a search result,
> create the pipeline that does the aggregation), but wouldn't it be quite
> heavy?

Am not quite sure what you mean here, but hold off on the 
explanation until after we have sent out that next message.

> 
> Being able to access to the output of a pipeline in my XSLT
> transformation would be soooo much simpler :) ...
> 

But then we wouldn't have had this conversation. :)

-- Dan S


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to