sfarrow
10-17-2003, 09:33 AM
When I serialize() a datapointer, I lose any escaping that had previously been present. For example,
<dataset name="myds">
<mynode>1 & 2</mynode>
</dataset>
would serialize as:
<dataset name="myds">
<mynode>
1 & 2</mynode>
</dataset>
which is not well-formed XML. I use serialize() to prepare params to be passed in the queryString of a dataset request. Is there any way I can preserve the escaping (or reescape the node content with the entity codes) so that I am passing valid XML?
Steve.
<dataset name="myds">
<mynode>1 & 2</mynode>
</dataset>
would serialize as:
<dataset name="myds">
<mynode>
1 & 2</mynode>
</dataset>
which is not well-formed XML. I use serialize() to prepare params to be passed in the queryString of a dataset request. Is there any way I can preserve the escaping (or reescape the node content with the entity codes) so that I am passing valid XML?
Steve.