#1299: AgaviXsltRenderer
-------------------------+--------------------------------------------------
 Reporter:  david        |       Owner:  david
     Type:  enhancement  |      Status:  new  
 Priority:  normal       |   Milestone:  1.0.4
Component:  renderer     |     Version:  1.0.3
 Severity:  normal       |    Keywords:       
Has_patch:  0            |  
-------------------------+--------------------------------------------------
 {{{AgaviXsltRenderer}}} should take {{{$inner}}} as the input for the
 template, which is an XSL stylesheet. For the first template,
 {{{$inner}}} should be whatever is returned from the View's
 {{{execute()}}} method, so users can return a {{{DOMDocument}}} or a
 string of well-formed XML there.

 The renderer should support slots by wrapping the inner content in a
 special element, which has a slots container as a sibling. This behavior
 should be enabled by default; people can then configure the renderer to
 operate in a simpler mode where it returns the unaltered
 {{{$inner}}} contents, which is convenient for instance when handling
 return values from a web service that returns XML (it is reasonable to
 assume that a lot of people will only use the renderer for this purpose,
 while still using PHP or a template engine for the outer layers).

-- 
Ticket URL: <http://trac.agavi.org/ticket/1299>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5



_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to