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

2024-07-23 Thread Dr. Arne Babenhauserheide
Maxime Devos writes: >> (xml->sxml "http://example.org/ns1\";>text") > If you remove a single namespace, apparently that’s true, but what if > multiple namespaces are removed? Does it still work then? Yes, it still works: (import (sxml simple)) (define xml-string "http://foobar\";>http://www.w

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

2024-07-23 Thread Maxime Devos
>+@code{xml->sxml}. A namespace can be removed by using a @code{#f} custom >+prefix. > > @example > (xml->sxml "http://example.org/ns1\";>text") 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 s

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

2024-07-22 Thread Dr. Arne Babenhauserheide
Richard Sent writes: > This documents behavior discussed in > https://lists.gnu.org/archive/html/guile-user/2024-07/msg00013.html. > > * doc/ref/sxml.texi (Reading and Writing XML): Document behavior of #f > namespace prefix. > --- > doc/ref/sxml.texi | 3 ++- > 1 file changed, 2 insertions(+),