From ebce25b336d5e27ec1efa8193b11de38f1c4030d Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Thu, 24 Oct 2024 19:57:22 +0200 Subject: devbook-guide: Clarify use of the term "tag" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The XML declaration is not a tag. - A tag cannot be closed; an element can (by a closing tag). Signed-off-by: Ulrich Müller --- appendices/devbook-guide/text.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appendices/devbook-guide/text.xml b/appendices/devbook-guide/text.xml index c725307..b853b0b 100644 --- a/appendices/devbook-guide/text.xml +++ b/appendices/devbook-guide/text.xml @@ -40,7 +40,7 @@ used in a DevBook XML document:

-On the first lines, we see the requisite tag that identifies this as an XML +On the first lines, we see the XML declaration that identifies this as an XML document. Next, there's a <guide> tag the entire document is enclosed within a <guide> </guide> pair. Its self attribute must point to the relative path of the document from the root node; @@ -55,7 +55,7 @@ document.

-All tags must be closed of course, so the document ends with: +All elements must be closed of course, so the document ends with:

@@ -126,7 +126,7 @@ tag. Note that the trailing slash in the href value is mandatory.

A table of contents can be generated with <contentsTree>. -Typically, this tag would be the only element in its own section body, as in +Typically, this would be the only element in its own section body, as in the following example:

-- cgit v1.2.3-65-gdbad