| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
DOMIT! Doctor is a set of utilities for repairing malformed XML
| Author: | John Heinstein <johnkarl@nbnet.nb.ca> |
| Copyright: | (C) 2004 John Heinstein. All rights reserved |
| License: | http://www.gnu.org/copyleft/lesser.html LGPL License |
| File Size: | 94 lines (2 kb) |
| Included or required: | 2 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
domit_doctor:: (2 methods):
fixAmpersands()
evaluateCharacter()
Class: domit_doctor - X-Ref
A (static) class containing utilities for repairing malformed XML| fixAmpersands($xmlText) X-Ref |
| Looks for illegal ampersands and converts them to entities param: string The xml text to be repaired return: string The repaired xml text |
| evaluateCharacter($xmlText, $illegalChar, $startIndex) X-Ref |
| Evaluates whether an ampersand should be converted to an entity, and performs the conversion param: string The xml text param: string The (ampersand) character param: int The character index immediately following the ampersand in question return: string The repaired xml text |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |