<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Yes, my suggestion would need to use the access methods (e.g. getGEO())
but I don't know what their names are.<br>
<br>
Otaduy del Paso, Zaloa [10/7/2008 12:38 PM] wrote:
<blockquote
 cite="mid:B0612005DC5B50438E17605021D4853201AA7271@MADARRMAIL3.indra.es"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="metricconverter"><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
  <style>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}
p
        {mso-style-priority:99;}
pre
        {mso-style-priority:99;}
span.HTMLPREFORMATTEDCHAR
        {mso-style-priority:99;}

 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;}
@font-face
        {font-family:Consolas;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {font-family:Consolas;}
p.HTMLPreformatted, li.HTMLPreformatted, div.HTMLPreformatted
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EstiloCorreo21
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EstiloCorreo22
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EstiloCorreo23
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
  </style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  </o:SmartTagType></o:SmartTagType>
  <div class="Section1">
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Hi,<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">I
have tried <o:p></o:p></span></font></p>
  <p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;"><font
 color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">OASISTSO10($e:
EVENT)<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
EVENT($g: $e.GEO[0])<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e.GEO[0].POSITION.LOCID matches&nbsp; "40.*")<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">It
makes sense to me,
since <o:p></o:p></span></font></p>
  <p class="MsoNormal" style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">OASISTSO10($e:
EVENT)<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e.GEO[0].POSITION.LOCID matches&nbsp; "40.*")<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Is
working and what I
want to check is the field GEO from $e. The issue is that doing what
you
suggested (the first code lines) I get the following error:<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="red" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;"
 lang="EN-GB">org.drools.rule.InvalidRulePackage: Unable to create
Field Extractor
for '$e.GEO[0]' : [Rule name=DistribuirPorProvincia2, agendaGroup=MAIN,
salience=2, no-loop=false]</span></font><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><u><font color="navy" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: navy;"
 lang="EN-GB">org.drools.RuntimeDroolsException</span></font></u><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;"
 lang="EN-GB">: </span></font><u><font color="navy" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: navy;"
 lang="EN-GB">org.drools.RuntimeDroolsException</span></font></u><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;"
 lang="EN-GB">: </span></font><u><font color="navy" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: navy;"
 lang="EN-GB">org.drools.RuntimeDroolsException</span></font></u><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;"
 lang="EN-GB">: Field/method '$e' not found for class
'es.indra.simge.businessrules.jaxb.tso.EVENT'</span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="red" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.drools.rule.Package.checkValidity(</span></font><u><font
 color="navy" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: navy;"
 lang="EN-GB">Package.java:424</span></font></u><font color="red"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;"
 lang="EN-GB">)</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">I
have also tried Scott&#8217;s
suggestion:<o:p></o:p></span></font></p>
  <p class="MsoNormal" style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">OASISTSO10($e:
EVENT)<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
eval($e.GEO[0].POSITION.LOCID.equals("40005"))<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">but
I also get the
compilation error:<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="red" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;"
 lang="EN-GB">org.drools.rule.InvalidRulePackage: Rule Compilation
error : [Rule
name=DistribuirPorProvincia2, agendaGroup=MAIN, salience=2,
no-loop=false]</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="red" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
es/indra/simge/businessrules/jaxb/tso/Rule_DistribuirPorProvincia2_0.java
(9:441) : $e.GEO cannot be resolved or is not a field</span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.drools.rule.Package.checkValidity(</span></font><u><font
 color="navy" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: navy;"
 lang="EN-GB">Package.java:424</span></font></u><font color="red"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;"
 lang="EN-GB">)<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;"
 lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">I&#8217;m
pretty confused
because sometimes the $e is recognized as an event, the rules I already
have
work, but in other cases the $e.<i><span style="font-style: italic;">FIELD</span></i>
returns a compilation error.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <div>
  <p class="MsoNormal"><b><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: black; font-weight: bold;">Zaloa
Otaduy del Paso</span></font></b><font color="navy"><span
 style="color: navy;"><br>
  </span></font><font color="black" face="Arial" size="1"><span
 style="font-size: 7.5pt; font-family: Arial; color: black;">Consultor&iacute;a
Tecnol&oacute;gica</span></font><font color="black" face="Arial" size="1"><span
 style="font-size: 7.5pt; font-family: Arial; color: black;"><o:p></o:p></span></font></p>
  </div>
  <div>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 face="Times New Roman" size="3"><span style="font-size: 12pt;"
 lang="ES">
  <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><b><font face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; font-weight: bold;"
 lang="ES">De:</span></font></b><font face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma;" lang="ES">
<a class="moz-txt-link-abbreviated" href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>
[<a class="moz-txt-link-freetext" href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>] <b><span
 style="font-weight: bold;">En
nombre de </span></b>Knapp, Barry<br>
  <b><span style="font-weight: bold;">Enviado el:</span></b> martes, 07
de octubre
de 2008 18:17<br>
  <b><span style="font-weight: bold;">Para:</span></b> Rules Users List<br>
  <b><span style="font-weight: bold;">Asunto:</span></b> RE: RV:
[rules-users]
Checking an xml field</span></font><span lang="ES"><o:p></o:p></span></p>
  </div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="#1f497d" face="Calibri" size="2"><span
 style="font-size: 11pt; font-family: Calibri; color: rgb(31, 73, 125);"
 lang="EN-US">Might be worth
trying <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="#1f497d" face="Calibri" size="2"><span
 style="font-size: 11pt; font-family: Calibri; color: rgb(31, 73, 125);"
 lang="EN-US"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;"><font
 color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">OASISTSO10($e:
EVENT)<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
EVENT($g: $e.GEO[0])<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e.GEO[0].POSITION.LOCID matches&nbsp; "40.*")<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Barry<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="#1f497d" face="Calibri" size="2"><span
 style="font-size: 11pt; font-family: Calibri; color: rgb(31, 73, 125);"
 lang="EN-US"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="#1f497d" face="Calibri" size="2"><span
 style="font-size: 11pt; font-family: Calibri; color: rgb(31, 73, 125);"
 lang="EN-US"><o:p>&nbsp;</o:p></span></font></p>
  <div>
  <div
 style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
  <p class="MsoNormal"><b><font face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; font-weight: bold;"
 lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">
<a class="moz-txt-link-abbreviated" href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>
[<a class="moz-txt-link-freetext" href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>] <b><span
 style="font-weight: bold;">On
Behalf Of </span></b>Otaduy del Paso, Zaloa<br>
  <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, October
07, 2008
11:23 AM<br>
  <b><span style="font-weight: bold;">To:</span></b> Rules Users List<br>
  <b><span style="font-weight: bold;">Subject:</span></b> RE: RV:
[rules-users]
Checking an xml field<o:p></o:p></span></font></p>
  </div>
  </div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;" lang="EN-US"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Hi
David,<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Thanks
for your helpful
response. The problem was that the element GEO can appear 0 or many
times so
what I needed to write was this <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style="text-indent: 35.4pt;"><font color="navy"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">when
  <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e: EVENT)<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e.<b><span style="font-weight: bold;">GEO[0].</span></b>POSITION.LOCID
== &#8220;<st1:metricconverter productid="40005&#8221;" w:st="on">40005&#8221;</st1:metricconverter>)<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Then <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Action<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">instead
of<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
when <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e: EVENT)<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e.GEO.POSITION.LOCID == &#8220;<st1:metricconverter
 productid="40005&#8221;" w:st="on">40005&#8221;</st1:metricconverter>)<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Then <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Action<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Now
I&#8217;m facing
another problem. I need to check if the element GEO exists before
checking the
POSITION, otherwise it throws an outofbound exception. <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">I
tried with:<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style="text-indent: 35.4pt;"><font color="navy"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;when<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e: EVENT)<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
EVENT($g: GEO)<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e.GEO[0].POSITION.LOCID matches&nbsp; "40.*")<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">But
it doesn&#8217;t
work. Any hints on this?<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Thanks
in advance,<o:p></o:p></span></font></p>
  <div>
  <p class="MsoNormal"><b><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: black; font-weight: bold;">Zaloa
Otaduy del Paso</span></font></b><font color="black" face="Arial"
 size="1"><span
 style="font-size: 7.5pt; font-family: Arial; color: black;"><o:p></o:p></span></font></p>
  </div>
  <div>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 face="Times New Roman" size="3"><span style="font-size: 12pt;"
 lang="ES">
  <hr align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><b><font face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; font-weight: bold;"
 lang="ES">De:</span></font></b><font face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma;" lang="ES">
<a class="moz-txt-link-abbreviated" href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>
[<a class="moz-txt-link-freetext" href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>] <b><span
 style="font-weight: bold;">En
nombre de </span></b>David Sinclair<br>
  <b><span style="font-weight: bold;">Enviado el:</span></b> martes, 07
de octubre
de 2008 15:58<br>
  <b><span style="font-weight: bold;">Para:</span></b> Rules Users List<br>
  <b><span style="font-weight: bold;">Asunto:</span></b> Re: RV:
[rules-users]
Checking an xml field</span></font><span lang="ES"><o:p></o:p></span></p>
  </div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  <div>
  <p class="MsoNormal" style="margin-bottom: 12pt;"><font
 face="Times New Roman" size="3"><span style="font-size: 12pt;">Read
the manual man. Your
rules don't make any sense<br>
  <br>
  <a moz-do-not-send="true"
 href="http://downloads.jboss.com/drools/docs/4.0.7.19894.GA/html_single/">http://downloads.jboss.com/drools/docs/4.0.7.19894.GA/html_single/</a><o:p></o:p></span></font></p>
  <div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;">On Tue, Oct 7, 2008 at 9:49 AM, Scott Reed
&lt;<a moz-do-not-send="true" href="mailto:sreed@avacoda.com">sreed@avacoda.com</a>&gt;
wrote:<o:p></o:p></span></font></p>
  <div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;">What is the problem you are seeing? Do the
rules compile ok?<br>
  <br>
Otaduy del Paso, Zaloa [10/6/2008 12:08 PM] wrote: <o:p></o:p></span></font></p>
  <div>
  <p><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Does
anybody know the answer to my question? I'm
not able to solve this issue and don't find any clarifying tutorial
either&#8230;.</span></font><o:p></o:p></p>
  <p><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Hi,</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">I'm new in
drools and I'm having some problems accessing an xml field.
I'm using drools with jaxb to treat xml files that follow an specific
xsd. I
have the following xml (this is just a piece of the xml):</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;OASIS_TSO_1_0&gt;</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;EVENT&gt;</span></font><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;EVENT_ID&gt;EVENT_ID_03/10/2008
10:22:36&lt;/EVENT_ID&gt;</span></font><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;NODE_ID&gt;00&lt;/NODE_ID&gt;</span></font><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;OTHER_EVENT_ID&gt;Incidente
  <st1:place w:st="on">UME</st1:place>&lt;/OTHER_EVENT_ID&gt;</span></font><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;EVENT_TYPE&gt;POL&lt;/EVENT_TYPE&gt;</span></font><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;SOURCE&gt;HUMDED&lt;/SOURCE&gt;</span></font><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;SEVERITY&gt;EXTREM&lt;/SEVERITY&gt;</span></font><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;CERTAINTY&gt;88&lt;/CERTAINTY&gt;</span></font><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;DECL_DATIME&gt;2008-10-03T10:20:47.0000000+02:00&lt;/DECL_DATIME&gt;</span></font><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;GEO&gt;</span></font><o:p></o:p></p>
  <p style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;DESCRIPTION/&gt;</span></font><o:p></o:p></p>
  <p style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;POSITION&gt;</span></font><o:p></o:p></p>
  <p style="margin-left: 70.8pt; text-indent: 35.4pt;"><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;LOC_ID&gt;14021&lt;/LOC_ID&gt;</span></font><o:p></o:p></p>
  <p style="margin-left: 70.8pt; text-indent: 35.4pt;"><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;COORD&gt;</span></font><o:p></o:p></p>
  <p style="margin-left: 106.2pt; text-indent: 35.4pt;"><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;LAT&gt;37.9811636567434&lt;/LAT&gt;</span></font><o:p></o:p></p>
  <p style="margin-left: 106.2pt; text-indent: 35.4pt;"><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;LON&gt;-4.85417587343286&lt;/LON&gt;</span></font><o:p></o:p></p>
  <p style="margin-left: 106.2pt; text-indent: 35.4pt;"><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;HEIGHT&gt;0&lt;/HEIGHT&gt;</span></font><o:p></o:p></p>
  <p style="margin-left: 70.8pt; text-indent: 35.4pt;"><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;/COORD&gt;</span></font><o:p></o:p></p>
  <p style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;/POSITION&gt;</span></font><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;/GEO&gt;</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/EVENT&gt;</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">&lt;/OASIS_TSO_1_0&gt;</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">I already
have a couple of rules working, but they are simple rules,
like this one: </span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">rule "Rule1"</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp; salience
10</span></font><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">when</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e: EVENT)</span></font><o:p></o:p></p>
  <p style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">OASISTSO10($e.SEVERITY
==
"EXTREM") or OASISTSO10($e.SEVERITY == "SEVERE")</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
then</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
action</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">The problem
appears when I have to check the LOC_ID field and I don't
know how to access to it. I have tried several things but none of them
work </span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">1.</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
when</span></font><o:p></o:p></p>
  <p style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">OASISTSO10($e:
EVENT)</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e.GEO.POSITION.LOCID == "40005")</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
then</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">2. </span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
when</span></font><o:p></o:p></p>
  <p style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">OASISTSO10($e:
EVENT)</span></font><o:p></o:p></p>
  <p style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">OASISTSO10($g:
$e.GEO)</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($p: $g.POSITION)</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">OASISTSO10($p.LOCID&nbsp; ==
"40005")</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Then</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">I have also
tried with ($e.GEO.POSITION.DESCRIPTION, just in case the
"_" character was the problem. But the same results&#8230; I have
searched also for examples with xmls but I haven't had luck. </span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Any help
would be appreciated. Thanks in advance,</span></font><o:p></o:p></p>
  <p><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font><o:p></o:p></p>
  <p><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;" lang="EN-GB">Zaloa</span><o:p></o:p></font></p>
  <p><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;">&nbsp;<o:p></o:p></span></font></p>
  </div>
  <pre style="text-align: center;"><font face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre style="text-align: center;"><font face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre style="text-align: center;"><font face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre style="text-align: center;"><font face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre style="text-align: center;"><font face="Courier New" size="2"><span
 style="font-size: 10pt;">

<hr align="center" size="4" width="90%">

</span></font></pre>
  <pre style="text-align: center;"><font face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre style="text-align: center;"><font face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre style="text-align: center;"><font face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre style="text-align: center;"><font face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;">_______________________________________________<o:p></o:p></span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;">rules-users mailing list<o:p></o:p></span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;"><a
 moz-do-not-send="true" href="mailto:rules-users@lists.jboss.org"
 target="_blank">rules-users@lists.jboss.org</a><o:p></o:p></span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;"><a
 moz-do-not-send="true"
 href="https://lists.jboss.org/mailman/listinfo/rules-users"
 target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><o:p></o:p></span></font></pre>
  </div>
  <p class="MsoNormal" style="margin-bottom: 12pt;"><font
 face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
_______________________________________________<br>
rules-users mailing list<br>
  <a moz-do-not-send="true" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
  <a moz-do-not-send="true"
 href="https://lists.jboss.org/mailman/listinfo/rules-users"
 target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><o:p></o:p></span></font></p>
  </div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  </div>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
</body>
</html>