Hi
I am using xsd as my object model. using jaxb i am getting the jar and
using it. The xsd which i am using as complex architechture. where root
element is complex as well as element inside that are also complex..
<complexType name="AirRequest_V01">
<complexContent>
<extension base="tns:RulesRequest_V01">
<sequence>
<element name="customClientGroup"
type="clientgroup" minOccurs="0"></element>
<element name="directAccessRequested"
type="boolean"></element>
</sequence>
</extension>
</complexContent>
</complexType>
i just kept 1 element inside. type clientgroup is also complex type it has
clientname and client code inside it.
so now when i write rule i have rules where i need to have some condition
like
If client name of customClientGroup "XYZ" of AirRequest_V01 is "abc"
then
do this
i am not getting how can we access to this element client name
when AirRequest_V01 (customClientGroup )
after this its not giving me option to get clinet name.
if i start like
when customClientGroup (client name)
then how to map it to AirRequest_V01 with customclientgroup
please suggest some way as i am very new to drools.
--
View this message in context:
http://drools.46999.n3.nabble.com/accessing-complex-element-while-writing...
Sent from the Drools: User forum mailing list archive at
Nabble.com.