cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

EXTERNAL: Checking for element content in FOSI

AndyEsslinger
1-Newbie

EXTERNAL: Checking for element content in FOSI

Save to a variable and then use #FOSI to check the value of the variable for content:
Works with either #NONE or #ANY

<att>
<specval attname="tpdr.tdv" attloc="#FOSI" attval="#NONE">
<charsubset>
<usetext source=""></usetext>
<reset resetlist="pagect" pageplus1ct&quot;=">
</charsubset>
</att>
<att>
<specval attname="tpdr.tdv" attloc="#FOSI" attval="#ANY">
<charsubset>
<usetext source="\None\"></usetext>
<reset resetlist="pagect" pageplus1ct&quot;=">
</charsubset>
</att>



-Andy
\ / Andy Esslinger LM Aero - Tech Order Data
_____-/\-_____ (817) 279-0442 1 Lockheed Blvd, Mail Zone 4285
\_\/_/ (817) 777 3047 Fort Worth, TX 76108
4 REPLIES 4

I forgot to mention that you should zero out the variable immediately after you use it so the variable comes up empty when tested again.


\ / Andy Esslinger LM Aero - Tech Order Data
_____-/\-_____ (817) 279-0442 1 Lockheed Blvd, Mail Zone 4285
\_\/_/ (817) 777 3047 Fort Worth, TX 76108

Yes, the ACL function works just fine, it seems. Somehow I thought that I could do it completely in FOSI. Guess not.

Thanks

To null, or not to null?
That is the question.
Whether to test in FOSI or suffer
the system-funcs of outrageous ... yada yada yada

Well, it was funny to me. Before I started typing ...


Funny enough! Thanks!


Steve Thompson
+1(316)977-0515
When the only tool you have is a hammer,
Everything looks like a hard disk...
Top Tags