How do I use the tag method to identify multiple potential tags

21 views
Skip to first unread message

BenH

unread,
Nov 15, 2010, 1:10:21 PM11/15/10
to happymapper
Within the XML schema I'm using there are several conditions where two
related schema will contain very similar definition.
One may be an BoxSummary and another an BoxConfiguration. Both will
contain most or all of the the BoxSummary information. I would like to
create an Box class that encompases the BoxSummary definition that can
also be call with a has_one method to point the BoxConfiguration back
to the Box object. The problem is that the BoxSummary has a tag
"BoxSummary" and the tag for the BoxConfiguration is tag
"BoxConfigurationBoxSummary".

Can I place both potential box tags in the Box object? If so... how?

John Nunemaker

unread,
Nov 15, 2010, 1:21:29 PM11/15/10
to happy...@googlegroups.com
Can you include the xml and code you are currently working with?


--
You received this message because you are subscribed to the Google Groups "happymapper" group.
To post to this group, send email to happy...@googlegroups.com.
To unsubscribe from this group, send email to happymapper...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/happymapper?hl=en.


Reply all
Reply to author
Forward
0 new messages