You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Piotr Kiraga <pi...@gmail.com> on 2007/03/22 16:11:55 UTC

Betwixt - attributes problem

Hi,

I want to generate XML like:

<Configuration>
    <Merchant>
        <name>defaultMerchantName</name>
       <id>someIdValue</id>
    </Merchant>
    <Properties>
        <Property name="prop1">value1</Property>
        <Property name="prop2">value2</Property>
    </Properties>
</Configuration>

But I have some problems with betwixt while trying to get <Properties>
set of <Property> tags, that are binded with attribute inside
<Property> tag and with literal between <Property> and </Property>
tags.

What kind of class structure should I prepare for that or what
non-standard classes (strategies, mappers...) for betwixt should I
implement?

Regards,

--
Piotr Kiraga

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org