[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Parsing XML with a value that contains a double quote
Great--thanks, Scott! I knew there had to have been some cool feature.
I appreciate your help. Have a wonderful holiday!
Kim Gibson
On 12/21/2010 2:44 PM, Kim Gibson wrote:
> Any quick ideas on solutions?? I'm doing some research on this end,
> and chances are the solution will be absurdly simple.
HTTPAPI has a feature called HTTP_xmlReturnPtr() that lets HTTPAPI
return the 'value' parameter from an XML document as a pointer to
allocated memory. That allows the value of an XML element to exceed
65535. (Indeed, should be capable of 16mb)
Here's a link to a previous discussion of HTTP_xmlReturnPtr:
[1]http://www.scottklement.com/archives/ftpapi/201008/msg00110.html
If you use that feature, you should be able to write all of the data
from your "embedded XML" into an IFS stream file. (Which, of course,
doesn't have a size limit.) and then your 2nd parse should work
properly.
----------------------------------------------------------------------
-
This is the FTPAPI mailing list. To unsubscribe, please go to:
[2]http://www.scottklement.com/mailman/listinfo/ftpapi
References
1. http://www.scottklement.com/archives/ftpapi/201008/msg00110.html
2. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------