All,

Does anyone know how to clean a XML string with illegal special characters 
before you parse it with XMLParse?

This is my XML string:

<?xml version="1.0" encoding="utf-8" ?> <string 
xmlns="http://www.webserviceX.NET/";> <StockQuotes> <Stock> <Symbol>T</Symbol> 
<Last>38.66</Last> <Date>4/12/2007</Date> <Time>4:00pm</Time> 
<Change>0.00</Change> <Open>N/A</Open> <High>N/A</High> <Low>N/A</Low> 
<Volume>0</Volume> <MktCap>241.4B</MktCap> <PreviousClose>38.66</PreviousClose> 
<PercentageChange>0.00%</PercentageChange> <AnnRange>24.72 - 39.90</AnnRange> 
<Earns>1.887</Earns> <P-E>20.49</P-E> <Name>AT&T INC.</Name> </Stock> 
</StockQuotes> </string>

I need to replace the "&" in the "Name" element.

-Jim

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275138
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to