Re: Ignored namespaces

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 UTC