Groups | Search | Server Info | Keyboard shortcuts | Login | Register
| Newsgroups | comp.text.xml |
|---|---|
| Date | 2016-04-15 10:08 -0700 |
| Message-ID | <b2a435fd-9d7d-4b0c-965e-28b8f1cf6137@googlegroups.com> (permalink) |
| Subject | xml condition |
| From | today <houda.araj@gmail.com> |
Is any better way to express this condition which is to detect words in a table that have some ending, group them together in a class and colorize the columns in a particular color and highlight the lines that fall under the condition.
Thanks in advance
<IF>
<CONDITIONS>
<condition col="x" line="2" operator="and" line="4" TextEnd="e"></condition>
<condition col="x" line="5" operator="and" line="6" TextEnd="a"></condition>
<condition col="x" line="10" TextEnd="er"></condition>
</CONDITIONS>
<RESULTS><Create Class1/></RESULTS>
<ELSE>
<RESULTS><Color="class1" color="Blue"/></RESULTS>
</ELSE>
<ELSE>
<RESULTS><Color="lines" highlight color="NavyBlue"/></RESULTS>
</ELSE>
</IF>
<IF>
<CONDITIONS>
<condition col="x" line="2" operator="and" line="4" TextEnd="e"></condition>
<condition col="x" line="5" operator="and" line="6" operator="and" line="11" TextEnd="i"></condition>
<condition col="x" line="10" TextEnd="er"></condition>
</CONDITIONS>
<RESULTS><Create Class2/></RESULTS>
<ELSE>
<RESULTS><Color="class2" color="Blue"/></RESULTS>
</ELSE>
<ELSE>
<RESULTS><Color="lines" highlight color="NavyBlue"/></RESULTS>
</ELSE>
</IF>
Back to comp.text.xml | Previous | Next — Next in thread | Find similar
xml condition today <houda.araj@gmail.com> - 2016-04-15 10:08 -0700 Re: xml condition Peter Flynn <peter@silmaril.ie> - 2016-04-16 23:53 +0100
csiph-web