commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Kiraga" <piotr.kir...@gmail.com>
Subject Betwixt - attributes problem
Date Thu, 22 Mar 2007 15:11:55 GMT
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


Mime
View raw message