|
I ran into a problem today... I'm creating an XML file from a 400 database, and one of the fields has an ampersand embedded in the text. When I try to open the XML file in a browser (Firefox .8), it bombs because of the ampersand (it should be &). To address this, I'm going to write a procedure that will find HTML/XML special characters and replace them with the appropriate codes. There will also be a co-procedure for un-converting these as well. My question is, will this be useful as part of the xRPG library? And if so, are there any other similar procedures I could add to create a new service program? I already have an "unescape" routine that I use to convert incoming URL strings from their embedded codes (%20 = a space, %2c = a comma, etc), so I could add that as well. Stuff like that or anything dealing specifically with HTML/XML string processing would be great. Joel http://www.rpgnext.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.