Hi All,
I just started using your product in a poject I am developing and I have
to say I love it. I'm using a mapping file to persist my data to XML. I
have one problem I'm not sure how to resolve. I have a linked list of
notes and responses.
I have something like:
Public class JNote{
String msg;
Date creationDate;
JNote parent;
}
The problem is that in my XML that first the root note gets printed with
no parent listed, then the children notes are printed and the parent
note get's printed again. In otherwords, I can end up with many copies
of the same data. How can I normalize this?
XML Output:
<postit title="Journal 5/1/2002">
<message>Message 1</message>
<date>2002-05-01T13:32:27.000</date>
<completed>false</completed>
<category name="Journal"/>
</postit>
<postit title="Journal 5/2/2002">
<message>Message 2</message>
<date>2002-05-02T15:50:47.000</date>
<completed>false</completed>
<category name="Journal"/>
<parent title="Journal 5/1/2002">
<message> Message 1</message>
<date>2002-05-01T13:32:27.000</date>
<completed>false</completed>
<category name="Journal"/>
</parent>
</postit>
Sincerely,
Steven W. Rock
Independent Consultant
Rock Technologies
516-897-7289
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev