Wrap your text with XML character data, i.e. <DETAILS><![CDATA[<h3>Senior Citizen Discount</h3>... ]]></DETAILS>
-- Kenneth Kawamoto http://www.materiaprima.co.uk/ On 6 May 2010 13:56, John Singleton <[email protected]> wrote: > Whoops. Now I have this in my XML: > > <DETAILS><h3>Senior Citizen Discount</h3> > <b>Delta Electric and Construction Co., Inc.</b> finds its pricing to be fair > and reasonable. Their prices are competitive and based on the local market > rates. Delta Electric offers a 10% discount to Senior Citizens living in the > Virgin Islands. The discount is equal to what we are offering to the Federal > government. Senior Citizens are offered this discount because they are no > longer working and have a lower income. The discount is only given on > residential work performed in the homes of Senior Citizens and they only send > a laborer out in that case. Delta Electric takes pride in offering services > at affordable prices and feels it is important to give back to the community > and respect their elders. > </DETAILS> > > This statement: > > pageDetails = xmlData.PAGE.(@pg_name == "index").DETAILS.text(); > > prints out everything except that which is marked up (h3, b). What do? > TIA, > John _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

