<t:container> is intended for components that need to render more than
one "root" element.  Try:
-
<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE smbxml SYSTEM "http://www.netledger.com/xml/dtd/smb_4_11.dtd";>

<smbxml xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

<t:loop source="sequenceList" value="aSequence">

 ...snip...

</t:loop>

</smbxml>

On Tue, Nov 18, 2008 at 7:59 AM, Mark W. Shead <[EMAIL PROTECTED]> wrote:
> I have a page that needs to render as xml.  I see that there was a
> patch applied to do this, but I can't seem to bring in the tapestry
> name space in order to get loop components, etc. to work.  Does anyone
> have an example showing how this should work?
>
> https://issues.apache.org/jira/browse/TAPESTRY-1600 being fixed seems
> to indicate that this should be possible, but I'm not seeing exactly
> how to implement it.
>
> Mark
>
> More info:
> Here is my xml template file:
>
> <?xml version="1.0" encoding="UTF-8" ?>
>
> <!DOCTYPE smbxml SYSTEM "http://www.netledger.com/xml/dtd/smb_4_11.dtd";>
>
> <t:container xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>
> <smbxml>
>
> <t:loop source="sequenceList" value="aSequence">
>
>  ...snip...
>
> </t:loop>
>
> </smbxml>
>
> </t:container>
>
> This doesn't work because it expects an html tag.  I'm guessing that
> might be something that is coming from the t:container tag. I've tried
> a bunch of other ways of getting the tapestry namespace in, but they
> either don't work or it complains about not having an HTML element.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to