[flexcoders] Re: ArrayCollection not working? Pulling out my HAIR!!!

2007-06-07 Thread Jason Ervin
If I can just get my xml into an array that would be great. I guess I
am going to have to skip ArrayUtil and hand code this as before with
proxyObject. Sure wish Adobe would update the arrayutil in Flex 3, or
better yet make importing data a drag and drop operation. Would make
this much simpiliar. Dragging in certain nodes from XML into an array
would ease the pain.

J

--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 I don't think ArrayUtil is as smart as you wish it was.  You may have to
 write your own conversion.
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Jason Ervin
 Sent: Wednesday, June 06, 2007 6:50 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: ArrayCollection not working? Pulling out my
 HAIR!!!
 
  
 
 Well I am using one data source via the singleton pattern as I have
 approx. 20 screen feeding of the xml data. I am sure xml will work
 with that. I wanted to use an Array or Arraycollection because I am
 going to be using several hsliders to splice the data in arrays.
 
 I think it would be easier with an array than xml. Do you have an
 example of how to splice up the data with xml rather than an array?
 
 Thanks in advance for any help.
 
 J
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , Brendan Meutzner bmeutzner@
 wrote:
 
  Any reason you're going through the trouble of converting to an
  ArrayCollection? The following will work with your XML data just
 fine...
  
  mx:ColumnChart id=mybarchart dataProvider={billData.bill}
  showDataTips=true paddingLeft=5 paddingRight=5 width=100%
  height=100%
  mx:horizontalAxis
  mx:CategoryAxis categoryField=@account/
  /mx:horizontalAxis
  mx:series
  mx:ColumnSeries displayName=Electric Bill
 xField=@account
  yField=electricitybillamount /
  mx:ColumnSeries displayName=Gas Bill xField=@account
  yField=gasbillamount /
  mx:ColumnSeries displayName=Water Bill xField=@account
  yField=waterbillamount /
  /mx:series
  /mx:ColumnChart
  
  
  Brendan
  
  
  
  On 6/6/07, Jason Ervin jason_newport@ wrote:
  
   Hey everyone I am having issues with using an arraycollection as a
   dataprovider. I start with an xml variable (see below) then I
 convert
   it to an ArrayCollection using ArrayUtil.toArray and I use the
 result
   as a dataprovider. If I trace the dataprovider it prints out the xml
   data, but my chart is empty. Can you use ArrayUtil on xml data with
   this many nodes? I have spent way to much time on this.
  
   Here is what I have starting with my XML file.
  
   XML CODE START
  
   public var billData:XML =
   data
   bill account=100-1234567
   monthMay-05/month
   activetrue/active
   electricitybillamount60.00/electricitybillamount
   gasbillamount45.00/gasbillamount
   waterbillamount15.00/waterbillamount
   totalbill120.00/totalbill
   electricityusage500/electricityusage
   gasusage71.4/gasusage
   waterusage200/waterusage
   electricityservicecharge18.00/electricityservicecharge
   gasservicecharge9.00/gasservicecharge
   waterservicecharge2.00/waterservicecharge
   totalserviccharge29.00/totalserviccharge
   electricitytax4.00/electricitytax
   gastax2.00/gastax
   watertax1.00/watertax
   totaltax7.00/totaltax
   elecperdaycost2.00/elecperdaycost
   gasperdaycost1.00/gasperdaycost
   waterperdaycost.50/waterperdaycost
   totalperdaycost3.50/totalperdaycost
   pastdueamount0.00/pastdueamount
   billingdays33/billingdays
   billdate5/01/2007/billdate
   budgetbillamount155.00/budgetbillamount
   readtypemanual/readtype
   elecmeterreadend152868/elecmeterreadend
   /bill
   bill account=123-2345678
   monthApr-05/month
   activetrue/active
   electricitybillamount88.88/electricitybillamount
   gasbillamount50.00/gasbillamount
   waterbillamount15.00/waterbillamount
   totalbill115.00/totalbill
   electricityusage300/electricityusage
   gasusage62.9/gasusage
   waterusage189/waterusage
   electricityservicecharge15.00/electricityservicecharge
   gasservicecharge6.00/gasservicecharge
   waterservicecharge3.00/waterservicecharge
   totalserviccharge24.00/totalserviccharge
   electricitytax4.50/electricitytax
   gastax2.50/gastax
   watertax1.25/watertax
   totaltax8.25/totaltax
   elecperdaycost2.10/elecperdaycost
   gasperdaycost1.90/gasperdaycost
   waterperdaycost.50/waterperdaycost
   totalperdaycost4.50/totalperdaycost
   pastdueamount0.00/pastdueamount
   billingdays28/billingdays
   billdate3/29/2007/billdate
   budgetbillamount155.00/budgetbillamount
   readtypeamr/readtype
   elecmeterreadend150008/elecmeterreadend
   /bill
   bill account=145-3456789
   monthMar-05/month
   activetrue/active
   electricitybillamount62.00/electricitybillamount
   gasbillamount45.10/gasbillamount
   waterbillamount10.00/waterbillamount
   totalbill118.10/totalbill
   electricityusage300/electricityusage
   gasusage50.4/gasusage
   waterusage210/waterusage
   electricityservicecharge13.00

Re: [flexcoders] Re: ArrayCollection not working? Pulling out my HAIR!!!

2007-06-07 Thread Arpit Mathur

Would using an XMLListCollection help?
http://livedocs.adobe.com/flex/201/langref/mx/collections/XMLListCollection.html


On 6/7/07, Jason Ervin [EMAIL PROTECTED] wrote:


  If I can just get my xml into an array that would be great. I guess I
am going to have to skip ArrayUtil and hand code this as before with
proxyObject. Sure wish Adobe would update the arrayutil in Flex 3, or
better yet make importing data a drag and drop operation. Would make
this much simpiliar. Dragging in certain nodes from XML into an array
would ease the pain.

J

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Alex
Harui [EMAIL PROTECTED] wrote:

 I don't think ArrayUtil is as smart as you wish it was. You may have to
 write your own conversion.



 

 From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
 Behalf Of Jason Ervin
 Sent: Wednesday, June 06, 2007 6:50 PM
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Subject: [flexcoders] Re: ArrayCollection not working? Pulling out my
 HAIR!!!



 Well I am using one data source via the singleton pattern as I have
 approx. 20 screen feeding of the xml data. I am sure xml will work
 with that. I wanted to use an Array or Arraycollection because I am
 going to be using several hsliders to splice the data in arrays.

 I think it would be easier with an array than xml. Do you have an
 example of how to splice up the data with xml rather than an array?

 Thanks in advance for any help.

 J

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.commailto:
flexcoders% flexcoders%2540yahoogroups.com

 , Brendan Meutzner bmeutzner@
 wrote:
 
  Any reason you're going through the trouble of converting to an
  ArrayCollection? The following will work with your XML data just
 fine...
 
  mx:ColumnChart id=mybarchart dataProvider={billData.bill}
  showDataTips=true paddingLeft=5 paddingRight=5 width=100%
  height=100%
  mx:horizontalAxis
  mx:CategoryAxis categoryField=@account/
  /mx:horizontalAxis
  mx:series
  mx:ColumnSeries displayName=Electric Bill
 xField=@account
  yField=electricitybillamount /
  mx:ColumnSeries displayName=Gas Bill xField=@account
  yField=gasbillamount /
  mx:ColumnSeries displayName=Water Bill xField=@account
  yField=waterbillamount /
  /mx:series
  /mx:ColumnChart
 
 
  Brendan
 
 
 
  On 6/6/07, Jason Ervin jason_newport@ wrote:
  
   Hey everyone I am having issues with using an arraycollection as a
   dataprovider. I start with an xml variable (see below) then I
 convert
   it to an ArrayCollection using ArrayUtil.toArray and I use the
 result
   as a dataprovider. If I trace the dataprovider it prints out the xml
   data, but my chart is empty. Can you use ArrayUtil on xml data with
   this many nodes? I have spent way to much time on this.
  
   Here is what I have starting with my XML file.
  
   XML CODE START
  
   public var billData:XML =
   data
   bill account=100-1234567
   monthMay-05/month
   activetrue/active
   electricitybillamount60.00/electricitybillamount
   gasbillamount45.00/gasbillamount
   waterbillamount15.00/waterbillamount
   totalbill120.00/totalbill
   electricityusage500/electricityusage
   gasusage71.4/gasusage
   waterusage200/waterusage
   electricityservicecharge18.00/electricityservicecharge
   gasservicecharge9.00/gasservicecharge
   waterservicecharge2.00/waterservicecharge
   totalserviccharge29.00/totalserviccharge
   electricitytax4.00/electricitytax
   gastax2.00/gastax
   watertax1.00/watertax
   totaltax7.00/totaltax
   elecperdaycost2.00/elecperdaycost
   gasperdaycost1.00/gasperdaycost
   waterperdaycost.50/waterperdaycost
   totalperdaycost3.50/totalperdaycost
   pastdueamount0.00/pastdueamount
   billingdays33/billingdays
   billdate5/01/2007/billdate
   budgetbillamount155.00/budgetbillamount
   readtypemanual/readtype
   elecmeterreadend152868/elecmeterreadend
   /bill
   bill account=123-2345678
   monthApr-05/month
   activetrue/active
   electricitybillamount88.88/electricitybillamount
   gasbillamount50.00/gasbillamount
   waterbillamount15.00/waterbillamount
   totalbill115.00/totalbill
   electricityusage300/electricityusage
   gasusage62.9/gasusage
   waterusage189/waterusage
   electricityservicecharge15.00/electricityservicecharge
   gasservicecharge6.00/gasservicecharge
   waterservicecharge3.00/waterservicecharge
   totalserviccharge24.00/totalserviccharge
   electricitytax4.50/electricitytax
   gastax2.50/gastax
   watertax1.25/watertax
   totaltax8.25/totaltax
   elecperdaycost2.10/elecperdaycost
   gasperdaycost1.90/gasperdaycost
   waterperdaycost.50/waterperdaycost
   totalperdaycost4.50/totalperdaycost
   pastdueamount0.00/pastdueamount
   billingdays28/billingdays
   billdate3/29/2007/billdate
   budgetbillamount155.00/budgetbillamount
   readtypeamr/readtype
   elecmeterreadend150008/elecmeterreadend
   /bill
   bill account=145-3456789
   monthMar-05

Re: [flexcoders] Re: ArrayCollection not working? Pulling out my HAIR!!!

2007-06-07 Thread Guido

We are all hoping for a flex equivalent to the commons.collections for java
n_n

On 6/7/07, Alex Harui [EMAIL PROTECTED] wrote:


   I don't think ArrayUtil is as smart as you wish it was.  You may have
to write your own conversion.


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Jason Ervin
*Sent:* Wednesday, June 06, 2007 6:50 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Re: ArrayCollection not working? Pulling out my
HAIR!!!



Well I am using one data source via the singleton pattern as I have
approx. 20 screen feeding of the xml data. I am sure xml will work
with that. I wanted to use an Array or Arraycollection because I am
going to be using several hsliders to splice the data in arrays.

I think it would be easier with an array than xml. Do you have an
example of how to splice up the data with xml rather than an array?

Thanks in advance for any help.

J

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Brendan
Meutzner [EMAIL PROTECTED]
wrote:

 Any reason you're going through the trouble of converting to an
 ArrayCollection? The following will work with your XML data just
fine...

 mx:ColumnChart id=mybarchart dataProvider={billData.bill}
 showDataTips=true paddingLeft=5 paddingRight=5 width=100%
 height=100%
 mx:horizontalAxis
 mx:CategoryAxis categoryField=@account/
 /mx:horizontalAxis
 mx:series
 mx:ColumnSeries displayName=Electric Bill
xField=@account
 yField=electricitybillamount /
 mx:ColumnSeries displayName=Gas Bill xField=@account
 yField=gasbillamount /
 mx:ColumnSeries displayName=Water Bill xField=@account
 yField=waterbillamount /
 /mx:series
 /mx:ColumnChart


 Brendan



 On 6/6/07, Jason Ervin [EMAIL PROTECTED] wrote:
 
  Hey everyone I am having issues with using an arraycollection as a
  dataprovider. I start with an xml variable (see below) then I convert
  it to an ArrayCollection using ArrayUtil.toArray and I use the result
  as a dataprovider. If I trace the dataprovider it prints out the xml
  data, but my chart is empty. Can you use ArrayUtil on xml data with
  this many nodes? I have spent way to much time on this.
 
  Here is what I have starting with my XML file.
 
  XML CODE START
 
  public var billData:XML =
  data
  bill account=100-1234567
  monthMay-05/month
  activetrue/active
  electricitybillamount60.00/electricitybillamount
  gasbillamount45.00/gasbillamount
  waterbillamount15.00/waterbillamount
  totalbill120.00/totalbill
  electricityusage500/electricityusage
  gasusage71.4/gasusage
  waterusage200/waterusage
  electricityservicecharge18.00/electricityservicecharge
  gasservicecharge9.00/gasservicecharge
  waterservicecharge2.00/waterservicecharge
  totalserviccharge29.00/totalserviccharge
  electricitytax4.00/electricitytax
  gastax2.00/gastax
  watertax1.00/watertax
  totaltax7.00/totaltax
  elecperdaycost2.00/elecperdaycost
  gasperdaycost1.00/gasperdaycost
  waterperdaycost.50/waterperdaycost
  totalperdaycost3.50/totalperdaycost
  pastdueamount0.00/pastdueamount
  billingdays33/billingdays
  billdate5/01/2007/billdate
  budgetbillamount155.00/budgetbillamount
  readtypemanual/readtype
  elecmeterreadend152868/elecmeterreadend
  /bill
  bill account=123-2345678
  monthApr-05/month
  activetrue/active
  electricitybillamount88.88/electricitybillamount
  gasbillamount50.00/gasbillamount
  waterbillamount15.00/waterbillamount
  totalbill115.00/totalbill
  electricityusage300/electricityusage
  gasusage62.9/gasusage
  waterusage189/waterusage
  electricityservicecharge15.00/electricityservicecharge
  gasservicecharge6.00/gasservicecharge
  waterservicecharge3.00/waterservicecharge
  totalserviccharge24.00/totalserviccharge
  electricitytax4.50/electricitytax
  gastax2.50/gastax
  watertax1.25/watertax
  totaltax8.25/totaltax
  elecperdaycost2.10/elecperdaycost
  gasperdaycost1.90/gasperdaycost
  waterperdaycost.50/waterperdaycost
  totalperdaycost4.50/totalperdaycost
  pastdueamount0.00/pastdueamount
  billingdays28/billingdays
  billdate3/29/2007/billdate
  budgetbillamount155.00/budgetbillamount
  readtypeamr/readtype
  elecmeterreadend150008/elecmeterreadend
  /bill
  bill account=145-3456789
  monthMar-05/month
  activetrue/active
  electricitybillamount62.00/electricitybillamount
  gasbillamount45.10/gasbillamount
  waterbillamount10.00/waterbillamount
  totalbill118.10/totalbill
  electricityusage300/electricityusage
  gasusage50.4/gasusage
  waterusage210/waterusage
  electricityservicecharge13.00/electricityservicecharge
  gasservicecharge7.00/gasservicecharge
  waterservicecharge1.00/waterservicecharge
  totalserviccharge21.00/totalserviccharge
  electricitytax5.00/electricitytax
  gastax2.20/gastax
  watertax1.10/watertax
  totaltax8.30/totaltax
  elecperdaycost2.20/elecperdaycost
  gasperdaycost1.70/gasperdaycost
  waterperdaycost.50/waterperdaycost
  totalperdaycost4.40/totalperdaycost
  email[EMAIL PROTECTED] ccoenraets%40fictitious.com/email

[flexcoders] Re: ArrayCollection not working? Pulling out my HAIR!!!

2007-06-06 Thread Jason Ervin
Well I am using one data source via the singleton pattern as I have
approx. 20 screen feeding of the xml data. I am sure xml will work
with that. I wanted to use an Array or Arraycollection because I am
going to be using several hsliders to splice the data in arrays.

I think it would be easier with an array than xml. Do you have an
example of how to splice up the data with xml rather than an array?

Thanks in advance for any help.

J

--- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED]
wrote:

 Any reason you're going through the trouble of converting to an
 ArrayCollection?  The following will work with your XML data just
fine...
 
 mx:ColumnChart id=mybarchart dataProvider={billData.bill}
 showDataTips=true paddingLeft=5 paddingRight=5 width=100%
 height=100%
 mx:horizontalAxis
 mx:CategoryAxis categoryField=@account/
 /mx:horizontalAxis
 mx:series
 mx:ColumnSeries displayName=Electric Bill
xField=@account
 yField=electricitybillamount /
 mx:ColumnSeries displayName=Gas Bill xField=@account
 yField=gasbillamount /
 mx:ColumnSeries displayName=Water Bill xField=@account
 yField=waterbillamount /
 /mx:series
 /mx:ColumnChart
 
 
 Brendan
 
 
 
 On 6/6/07, Jason Ervin [EMAIL PROTECTED] wrote:
 
Hey everyone I am having issues with using an arraycollection as a
  dataprovider. I start with an xml variable (see below) then I convert
  it to an ArrayCollection using ArrayUtil.toArray and I use the result
  as a dataprovider. If I trace the dataprovider it prints out the xml
  data, but my chart is empty. Can you use ArrayUtil on xml data with
  this many nodes? I have spent way to much time on this.
 
  Here is what I have starting with my XML file.
 
  XML CODE START
 
  public var billData:XML =
  data
  bill account=100-1234567
  monthMay-05/month
  activetrue/active
  electricitybillamount60.00/electricitybillamount
  gasbillamount45.00/gasbillamount
  waterbillamount15.00/waterbillamount
  totalbill120.00/totalbill
  electricityusage500/electricityusage
  gasusage71.4/gasusage
  waterusage200/waterusage
  electricityservicecharge18.00/electricityservicecharge
  gasservicecharge9.00/gasservicecharge
  waterservicecharge2.00/waterservicecharge
  totalserviccharge29.00/totalserviccharge
  electricitytax4.00/electricitytax
  gastax2.00/gastax
  watertax1.00/watertax
  totaltax7.00/totaltax
  elecperdaycost2.00/elecperdaycost
  gasperdaycost1.00/gasperdaycost
  waterperdaycost.50/waterperdaycost
  totalperdaycost3.50/totalperdaycost
  pastdueamount0.00/pastdueamount
  billingdays33/billingdays
  billdate5/01/2007/billdate
  budgetbillamount155.00/budgetbillamount
  readtypemanual/readtype
  elecmeterreadend152868/elecmeterreadend
  /bill
  bill account=123-2345678
  monthApr-05/month
  activetrue/active
  electricitybillamount88.88/electricitybillamount
  gasbillamount50.00/gasbillamount
  waterbillamount15.00/waterbillamount
  totalbill115.00/totalbill
  electricityusage300/electricityusage
  gasusage62.9/gasusage
  waterusage189/waterusage
  electricityservicecharge15.00/electricityservicecharge
  gasservicecharge6.00/gasservicecharge
  waterservicecharge3.00/waterservicecharge
  totalserviccharge24.00/totalserviccharge
  electricitytax4.50/electricitytax
  gastax2.50/gastax
  watertax1.25/watertax
  totaltax8.25/totaltax
  elecperdaycost2.10/elecperdaycost
  gasperdaycost1.90/gasperdaycost
  waterperdaycost.50/waterperdaycost
  totalperdaycost4.50/totalperdaycost
  pastdueamount0.00/pastdueamount
  billingdays28/billingdays
  billdate3/29/2007/billdate
  budgetbillamount155.00/budgetbillamount
  readtypeamr/readtype
  elecmeterreadend150008/elecmeterreadend
  /bill
  bill account=145-3456789
  monthMar-05/month
  activetrue/active
  electricitybillamount62.00/electricitybillamount
  gasbillamount45.10/gasbillamount
  waterbillamount10.00/waterbillamount
  totalbill118.10/totalbill
  electricityusage300/electricityusage
  gasusage50.4/gasusage
  waterusage210/waterusage
  electricityservicecharge13.00/electricityservicecharge
  gasservicecharge7.00/gasservicecharge
  waterservicecharge1.00/waterservicecharge
  totalserviccharge21.00/totalserviccharge
  electricitytax5.00/electricitytax
  gastax2.20/gastax
  watertax1.10/watertax
  totaltax8.30/totaltax
  elecperdaycost2.20/elecperdaycost
  gasperdaycost1.70/gasperdaycost
  waterperdaycost.50/waterperdaycost
  totalperdaycost4.40/totalperdaycost
  email[EMAIL PROTECTED] ccoenraets%40fictitious.com/email
  pastdueamount0.00/pastdueamount
  billingdays30/billingdays
  billdate3/01/2007/billdate
  budgetbillamount155.00/budgetbillamount
  readtypemanual/readtype
  elecmeterreadend146968/elecmeterreadend
  /bill
  /data
  /* starting another xml document */
 
  /* public var billData2:XML =
  root
  account id=1234567
  month date=May-05
  activetrue/active
  electricitybillamount60.00/electricitybillamount
  gasbillamount45.00/gasbillamount
  

RE: [flexcoders] Re: ArrayCollection not working? Pulling out my HAIR!!!

2007-06-06 Thread Alex Harui
I don't think ArrayUtil is as smart as you wish it was.  You may have to
write your own conversion.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jason Ervin
Sent: Wednesday, June 06, 2007 6:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: ArrayCollection not working? Pulling out my
HAIR!!!

 

Well I am using one data source via the singleton pattern as I have
approx. 20 screen feeding of the xml data. I am sure xml will work
with that. I wanted to use an Array or Arraycollection because I am
going to be using several hsliders to splice the data in arrays.

I think it would be easier with an array than xml. Do you have an
example of how to splice up the data with xml rather than an array?

Thanks in advance for any help.

J

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Brendan Meutzner [EMAIL PROTECTED]
wrote:

 Any reason you're going through the trouble of converting to an
 ArrayCollection? The following will work with your XML data just
fine...
 
 mx:ColumnChart id=mybarchart dataProvider={billData.bill}
 showDataTips=true paddingLeft=5 paddingRight=5 width=100%
 height=100%
 mx:horizontalAxis
 mx:CategoryAxis categoryField=@account/
 /mx:horizontalAxis
 mx:series
 mx:ColumnSeries displayName=Electric Bill
xField=@account
 yField=electricitybillamount /
 mx:ColumnSeries displayName=Gas Bill xField=@account
 yField=gasbillamount /
 mx:ColumnSeries displayName=Water Bill xField=@account
 yField=waterbillamount /
 /mx:series
 /mx:ColumnChart
 
 
 Brendan
 
 
 
 On 6/6/07, Jason Ervin [EMAIL PROTECTED] wrote:
 
  Hey everyone I am having issues with using an arraycollection as a
  dataprovider. I start with an xml variable (see below) then I
convert
  it to an ArrayCollection using ArrayUtil.toArray and I use the
result
  as a dataprovider. If I trace the dataprovider it prints out the xml
  data, but my chart is empty. Can you use ArrayUtil on xml data with
  this many nodes? I have spent way to much time on this.
 
  Here is what I have starting with my XML file.
 
  XML CODE START
 
  public var billData:XML =
  data
  bill account=100-1234567
  monthMay-05/month
  activetrue/active
  electricitybillamount60.00/electricitybillamount
  gasbillamount45.00/gasbillamount
  waterbillamount15.00/waterbillamount
  totalbill120.00/totalbill
  electricityusage500/electricityusage
  gasusage71.4/gasusage
  waterusage200/waterusage
  electricityservicecharge18.00/electricityservicecharge
  gasservicecharge9.00/gasservicecharge
  waterservicecharge2.00/waterservicecharge
  totalserviccharge29.00/totalserviccharge
  electricitytax4.00/electricitytax
  gastax2.00/gastax
  watertax1.00/watertax
  totaltax7.00/totaltax
  elecperdaycost2.00/elecperdaycost
  gasperdaycost1.00/gasperdaycost
  waterperdaycost.50/waterperdaycost
  totalperdaycost3.50/totalperdaycost
  pastdueamount0.00/pastdueamount
  billingdays33/billingdays
  billdate5/01/2007/billdate
  budgetbillamount155.00/budgetbillamount
  readtypemanual/readtype
  elecmeterreadend152868/elecmeterreadend
  /bill
  bill account=123-2345678
  monthApr-05/month
  activetrue/active
  electricitybillamount88.88/electricitybillamount
  gasbillamount50.00/gasbillamount
  waterbillamount15.00/waterbillamount
  totalbill115.00/totalbill
  electricityusage300/electricityusage
  gasusage62.9/gasusage
  waterusage189/waterusage
  electricityservicecharge15.00/electricityservicecharge
  gasservicecharge6.00/gasservicecharge
  waterservicecharge3.00/waterservicecharge
  totalserviccharge24.00/totalserviccharge
  electricitytax4.50/electricitytax
  gastax2.50/gastax
  watertax1.25/watertax
  totaltax8.25/totaltax
  elecperdaycost2.10/elecperdaycost
  gasperdaycost1.90/gasperdaycost
  waterperdaycost.50/waterperdaycost
  totalperdaycost4.50/totalperdaycost
  pastdueamount0.00/pastdueamount
  billingdays28/billingdays
  billdate3/29/2007/billdate
  budgetbillamount155.00/budgetbillamount
  readtypeamr/readtype
  elecmeterreadend150008/elecmeterreadend
  /bill
  bill account=145-3456789
  monthMar-05/month
  activetrue/active
  electricitybillamount62.00/electricitybillamount
  gasbillamount45.10/gasbillamount
  waterbillamount10.00/waterbillamount
  totalbill118.10/totalbill
  electricityusage300/electricityusage
  gasusage50.4/gasusage
  waterusage210/waterusage
  electricityservicecharge13.00/electricityservicecharge
  gasservicecharge7.00/gasservicecharge
  waterservicecharge1.00/waterservicecharge
  totalserviccharge21.00/totalserviccharge
  electricitytax5.00/electricitytax
  gastax2.20/gastax
  watertax1.10/watertax
  totaltax8.30/totaltax
  elecperdaycost2.20/elecperdaycost
  gasperdaycost1.70/gasperdaycost
  waterperdaycost.50/waterperdaycost
  totalperdaycost4.40/totalperdaycost
  email[EMAIL PROTECTED] ccoenraets%40fictitious.com/email
  pastdueamount0.00/pastdueamount
  billingdays30/billingdays
  billdate3/01/2007/billdate
  budgetbillamount155.00/budgetbillamount