Re: Re: XML_Serializer - Style of empty tag
| From: | Stephan Wentz | Date: | Wed, 01 Dec 2004 11:12:47 +0000 |
| Subject: | Re: Re: XML_Serializer - Style of empty tag | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15938@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Georg Bez wrote:
| Hi Ignatius,
|
|> Surely it is fairly easy to transform an empty tag into your desired form
|> with a REGEX processing after your XML serialization.
|> (for the time being I leave the exercise to the reader...)
|
|
| Yes, You are right completely and it puts me also before no bigger
| problems :-) to build an appropriate regex.
| My wish would be to be had this option directly in XML_Serializer. I
| hope this is not to be measured.
| If Stephan informs me that he does not find this meaningfully, no time
| or desire has ;-) has then do I the other variant. However, till there I
| still have hope.
| Perhaps this function is little bit faster in the integrated version
| than the additional regex. However, this is only an assumption.
I had the same probleme with a flash-app here, it helped to add a single
space, so you have <tag> </tag> for empty values...
It's not beautiful, but it worked ;-)
Stephan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBracv8qQ9XV7tBNQRAixCAJ9lGJxXdUjnxaW7rq9i4i6MI5ov6wCgkANQ
yP79iyX9pgLJitMDBnOl13Q=
=3seY
-----END PGP SIGNATURE-----