guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH] doc: Mention how to remove namespaces in xml->sxml.


From: Maxime Devos
Subject: RE: [PATCH] doc: Mention how to remove namespaces in xml->sxml.
Date: Tue, 23 Jul 2024 10:29:34 +0200

>+@code{xml->sxml}.  A namespace can be removed by using a @code{#f} custom

>+prefix.

>

> @example

> (xml->sxml "<foo xmlns=\"http://example.org/ns1\">text</foo>")

 

If you remove a single namespace, apparently that’s true, but what if multiple namespaces are removed? Does it still work then?

 

(I can imagine that somewhere the SXML code assumes a unique ‘namespace symbol/#f’ -> ‘namespace URL’ mapping.)

 

Best regards,

Maxime Devos.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]