On 3/21/07, Norman Walsh <Norman.Walsh@sun.com> wrote: > I'm not entirely sure I like having documentation inside p:inline, but > it is certainly possible to write a consistent story about it. Are you saying that right now one could write: <p:xslt name="t"> <p:input port="stylesheet"> <p:inline> <xhtml:p>Let me tell you what this does</xhtml:p> <xsl:stylesheet>...</xsl:stylesheet> </p:inline> </p:input> <p:input port="source"> <p:inline> <xhtml:p>Some document to transform</xhtml:p> </p:inline> </p:input> </p:xslt> And the <xsl:stylesheet> element would be passed to XSLT as the stylesheet, ignoring the <xhtml:p> element? Then how could I pass XHTML to the 'source' input? I am not sure that allowing documentation in <p:input> is a good idea. And I am not sure that using an element in the XHTML namespace as the root element for your documentation is a good idea either. Alex -- Orbeon Forms - Web 2.0 Forms for the Enterprise http://www.orbeon.com/Received on Wednesday, 21 March 2007 23:26:31 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:50 GMT