Hello
I'm using cygwin and wouldlike extract information from an xml file according specific values, but don't know how.
Let's say in a file content looks like this:
<tab>
SURNAME=Mustermann
NAME=Max
CUSTOMER SINCE= 18.01.2000
ADDRESS=Birmingham
DESCRIPTION=likes red
etc
</tab>
<tab>
SURNAME=Doe
NAME=John
CUSTOMER SINCE= 18.01.2002
ADDRESS=Berlin
PARAMETERX= anything
DESCRIPTION=something
etc
</tab>
the block starts and ends for each customer with tab /tab but the parameter in between could be different.
e.g. I want the output of all customers which has DESCRIPITON=likes red and ADDRESS starts with B
how can I define the search for both creteria is just between the start and end parameter tab?
I hope you understand what I mean
Thanks in advance