[OpenSIPS-Users] use of . dot and colon : in XML node names

xaled at web.de xaled at web.de
Mon Feb 22 11:58:03 EST 2021


Hi,

I'm trying to encode an XML MIME body according to rfc7852 and need to use dot and colon in XML node names. Unfortunately I'm getting errors as dot is considered to be aprecial character for .attr and .val. is there are any ways to escape the dot?

https://tools.ietf.org/html/rfc7852#section-4.1.10

$xml(ProviderInfo) = "<emergencyCall.ProviderInfo></emergencyCall.ProviderInfo>";
$xml(ProviderInfo/emergencyCall.ProviderInfo.attr/xmlns) = "urn:ietf:params:xml:ns:emergencyCall.ProviderInfo";

Thanks,
Xaled




More information about the Users mailing list