calculate xml size
| From: | Vo, Lance | Date: | Sat, 26 May 2007 18:03:36 +0000 |
| Subject: | calculate xml size | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-2548@lists.php.net to get a copy of this message | ||
hi
does php has any function that calculate a xml element in bytes or anything:
example:
<tests>
<test1>ABC</test1>
<test2>DEF</test2>
</tests>
If I want to calculate element <test1>, it should return 18 bytes.
Any suggestion is welcomed.
thanks
Lance