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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]