[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parsing XML with a value that contains a double quote



I've posted recently with the subject line "Example 18 and an Unparsed
Character Response". I'm using
http://www.scottklement.com/httpapi/bankrout.txt as a template to take
the unparsed response & write it to the IFS, then calling
http_parse_xml_stmf, and it's working beautifully, with one exception.

There is a value within a tag that I'm receiving in the response that
has a double quote, and this is messing up the parsing. This is the tag
& value:  
	
	<PrescriptionLabel>BD INSULIN SYR 0.5 ML
30GX1/2"</PrescriptionLabel>

The double quote is messing things up---I get an error: 
	XML parse failed at line 2, col 65517: unclosed token   

Any suggestions how to handle this?

Thanks so much,

Kim Gibson


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------