commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denis queffeulou <denis.queffeu...@wokup.com>
Subject Re: [betwixt] attributes disables a element ?
Date Mon, 10 Apr 2006 16:24:10 GMT
thanks for help,
I tried it but I ran into other problems
Actually I found too much strange thing in betwixt so I moved to jibx 
which works well for my needs.

-- 
Denis

>You are right! the attribute disbles the content
>
>If you want to read both of them you youl use the tag text
>
>Something like this
><element name="list">
>	<element name="id">
>		<attribute name="recipient" property="recipient"/>
>		<text property="id" />
>	</element>
></element>
>
>When i tried this with the 0.7 release it didn't work. I got a
>nightbuild and it worked fine
>
>I hope this will help you
>
>PD: excuse my terrible english
>
>
>
>
>On 4/7/06, denis queffeulou <denis.queffeulou@wokup.com> wrote:
>  
>
>>Hi,
>>
>>I have the following betwixt :
>>
>>                    <element name="list">
>>                        <element name="id" property="id"/>
>>                        <!--
>>                            <attribute name="recipient"
>>property="recipient"/>
>>                        </element>
>>                        -->
>>                    </element>
>>
>>With comment, I can retrieve the id property from XML,
>>but if I add the attribute "recipient", then I get a *null* "id" and a
>>good "recipient".
>>
>>The XML is
>>          <list>
>>            <id recipient="089786756">8090</id>
>>          </list>
>>
>>
>>I don't undertsand why this doesn't work with the attribute ??
>>--
>>Denis
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>
>--
>
>To Iterate is Human, to Recurse, Divine
> - James O. Coplien, Bell Labs
>
>-------------------------------------
><EPI/> - Deploying ideas
>-------------------------------------
>Ing. Diego H. Mornacco
>Desarrollador
>Epidata Consulting
>MaipĂș 521 1er piso Of. A
>Ofi: 5031 0060 / 61
>Cel: 15-5884-0040
>www.epidataconsulting.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
>
>  
>


---------------------------------------------------------------------
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