I don't know much about parsing xml, could some show me how to parse the following document
/////////////////////////////Begin Document////////////////////////////////
<?xml version="1.0" encoding="UTF-8" ?>
<InmanStories>
<InmanStory id='43235'>
<headline><![CDATA[Tenant seeks to break lease over property noise]]></headline>
<subtitle><![CDATA[How accommodating must landlord be on this issue?]]></subtitle>
<date>Thursday, October 14, 2004</date>
<byline><![CDATA[By Robert Griswold<br/>Inman News]]></byline>
<bodycontent><![CDATA[<p><i>Question: I am extremely unhappy at my new apartment.
There are things about the apartment that I didn't know about. For example, I
work extremely late at night on the weekends and get woken up to people doing
laundry at 7 a.m. I was unaware that my bedroom was right above the laundry
room; there are many other things that I am very unhappy about, is there anyway
I can get out of my 1-year lease because of these things. Please help!</i></p>
<p><b>Landlord's attorney Smith replies:</b></p>
<p>As the landlord's attorney, I do not see facts here that
would justify your getting out of your 1-year lease of the apartment. The
landlord's covenant of quiet enjoyment does not extend to providing a perfectly
sound-free environment. The noises you refer to – walking, normal talking and
moderate sounds from the laundry room – are inherent in multi-unit apartment
housing.</p>
<p>I note that you are the one with the unusual hours. The
other tenants apparently work normal hours. Use of the laundry room at 7 a.m.
is reasonable.</p>
<p>The law requires substantial, even unbearable noise or very
significant deficiencies in the rental unit to constitute a violation of the
quiet enjoyment covenant or implied warranty of habitability. You are falling
short of these requirements. As a result, there is no justification for
breaking the lease. Try to work it out with the apartment manager. From a
customer-service standpoint, they might agree to move you to another location
in the complex, but are not legally required to. </p>
<p><i>Question: I have a signed and dated receipt and holding
deposit agreement from a qualified applicant of $1,000. It states the applicant
will pay the remaining balance of one month's rent + security deposit minus the
holding deposit. It also states "the landlord and applicant agree that if
applicant cancels or fails to sign rental agreement and pay funds, the landlord
may retain the deposit." The applicant has called to say she lost her job
and will not be moving in and she can't afford the higher rent. Can I keep any
part of the $1,000 since I know I have to start to advertise again and find
another qualified applicant? What are my legal rights regarding this?</i></p>
<p><b>Landlord's attorney Smith replies:</b></p>
<p>You did a good job by having the prospective resident sign a
holding deposit agreement. Without a written agreement, the law is unclear as
to what deductions are proper. After approval, the applicant did not have the
right to cancel the agreement to rent. The provision in the holding deposit
agreement allows you to retain at least a portion of it. You have indicated
that your agreement allows you to retain the entire $1,000 holding deposit in
the event of cancellation. Some judges could disagree with this and require you
to show the court what your actual monetary losses are. Some courts would hold
that you can only deduct the daily rental value from the date of cancellation
until the premises are successfully re-leased, together with advertising and
other costs. Either way, if you choose to retain the entire $1,000 or your
actual losses, if less, provide a written accounting, and, if applicable, any
refund, within 21 days of the applicant's cancellation.</p>
<p><b>Tenant's attorney Kellman replies:</b></p>
<p>The law disfavors penalties in rental contracts as being
improper liquidated damages clauses. Here, you have a clause in your agreement
that mandates the tenant to forfeit the entire holding deposit regardless of
the damage you may suffer, if any. This is unfair and probably unenforceable
even if you want to keep only a part of it. You may try and soften the problem
with keeping the money by only keeping a portion of it but that does not make
that provision valid. You would arbitrarily choose how much to keep without
regard to any pre-agreed standard of how much to keep and under what
circumstances. How much is too little or too much? By keeping any money, you
risk a claim for that money by the tenants. There are option-type contracts
that keep a unit off the market, pending a possible formation of a contract.
Here, the entire option amount may be retained upon the failure to enter into a
contract within a given period. Those agreements must be specific and meet
certain legal guidelines to be valid. Your agreement does not appear to be one
of these.</p>
<p><i>This column on
issues confronting tenants and landlords is written by property manager Robert
Griswold, author of "Property Management for Dummies" and co-author
of "Real Estate Investing for Dummies," in association with San Diego
attorneys Steven R. Kellman, director of the Tenant's Legal Center, and Ted
Smith, principal in a firm representing landlords. </i></p>
<p><i>E-mail questions
to Rental Q&A at <a href="mailto:rgriswold.inman@retodayradio.com">rgriswold.inman@retodayradio.com</a>.</i></p>
<p><i>Questions should
be brief and cannot be answered individually.</i></p>
<p align="center">***</p>
<p><i><b><FONT SIZE="3">What's your opinion? Send your Letter to the Editor to
<a href="mailto:opinion@inman.com">opinion@inman.com</a>.</FONT></b></i></p>]]></bodycontent>
<copyright> <![CDATA[Copyright 2004 <a href='http://www.inman.com' target='_blank'>Inman News</a>]]></copyright>
</InmanStory>
</InmanStories>
/////////////////////////////End Document////////////////////////////////