guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] branch main updated: doc: Mention how to remove namespac


From: Arne Babenhauserheide
Subject: [Guile-commits] branch main updated: doc: Mention how to remove namespaces in xml->sxml.
Date: Tue, 23 Jul 2024 02:24:03 -0400

This is an automated email from the git hooks/post-receive script.

arnebab pushed a commit to branch main
in repository guile.

The following commit(s) were added to refs/heads/main by this push:
     new 8535682dd doc: Mention how to remove namespaces in xml->sxml.
8535682dd is described below

commit 8535682dda9c1f8471883628dbd5c5897b57fda0
Author: Richard Sent <richard@freakingpenguin.com>
AuthorDate: Mon Jul 22 20:02:40 2024 -0400

    doc: Mention how to remove namespaces in xml->sxml.
    
    * doc/ref/sxml.texi (Reading and Writing XML): Document behavior of #f
    namespace prefix.
    
    This documents behavior discussed in
    https://lists.gnu.org/archive/html/guile-user/2024-07/msg00013.html.
---
 doc/ref/sxml.texi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/ref/sxml.texi b/doc/ref/sxml.texi
index 003309d54..ab0b010d0 100644
--- a/doc/ref/sxml.texi
+++ b/doc/ref/sxml.texi
@@ -91,7 +91,8 @@ All namespaces in the XML document must be declared, via 
@code{xmlns}
 attributes.  SXML elements built from non-default namespaces will have
 their tags prefixed with their URI.  Users can specify custom prefixes
 for certain namespaces with the @code{#:namespaces} keyword argument to
-@code{xml->sxml}.
+@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>")



reply via email to

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