lift Web Framework

simply functional


The XML is

<address>
      <line>123 any street</line>
      <city>SF</city>  <state>CA</state> <country>US</country> 
    </address>
<address> <line>456 other lane</line><line>flat 3</line> <city>London</city> <state></state> <country>GB</country> </address>
<address> <line>14 gordon st</line><line>#204</line> <city>Brighton</city> <state>MA</state> <country>US</country> </address>
<address> <line>37 foo lane</line> <city>Ixtapa</city> <state>MX</state> <country>MX</country> </address>
<address> <line>44 sheep st</line><line>#1</line> <city>Liverpool</city> <state></state> <country>GB</country> </address>
<address> <line>74 nice st</line><line>#1801</line> <city>Chicago</city> <state>IL</state> <country>US</country> </address>

The count for US nodes is 3

Count US addresses.

Count GB addresses.


lift is Copyright 2007 WorldWide Conferencing, LLC. Distributed under an Apache 2.0 License.