[EMAIL PROTECTED] wrote:

I am new to Castor and new to java so my question may be trivial but here
is my problem:  The following XML marshals in and out fine if you leave out
"promo"  -- which isn't an option.  Should I use a nested class mapping --
and how?

note: I can make KEYWORDS, ENABLE_STEMMING, MODE string variables in my
MERCH_RULE_TRIGGER class, I get the KEYWORD tag displayed correctly with
the "promo" value but loose the attributes. The location tag does not put
the attributes in the " KEYWORDS" tag.


Well, you have a nodetype "text" in Castor

So include something like

<field name="textnode" type="string">
   <bind-xml node="text">
</field>

With 'textnode' being the field in your Java class.



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user

Reply via email to