[ Index ] |
|
Code source de Joomla 1.0.13 |
[Code source] [Imprimer] [Statistiques]
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 |
Poids: | 94 lignes (2 kb) |
Inclus ou requis: | 2 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
domit_doctor:: (2 méthodes):
fixAmpersands()
evaluateCharacter()
Classe: domit_doctor - X-Ref
A (static) class containing utilities for repairing malformed XMLfixAmpersands($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 |
Généré le : Wed Nov 21 14:43:32 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |