← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [xml-dev] Is there a short string that is commonly used to represent "/>"?

From
G. Ken Holman <>
To
Roger L Costello <>, "" <>
Date
2022-02-20T01:54:07Z
ID
<>
Thread
Re: [xml-dev] Is there a short string that is commonly used to represent "/>"?
The specification describes the use of these two 
characters under the heading "Tags for Empty 
Elements" here, but they are not given a name:

https://www.w3.org/TR/xml/#sec-starttags

SGML 1986 used the terminology "tag close" for 
the ">" sequence (which was configurable). While 
not precise, perhaps you could use EMPTY_TAG_CLOSE.

I hope this is helpful.

. . . . . . Ken

At 2022-02-19 18:57 +0000, Roger L Costello wrote:

>Hi Folks,
>
>
>
>Sorry, I wasn’t very clear in my last message. 
>I am seeking a short name for this:
>
>
>
>               />
>
>
>
>For fun, I am creating a lexer for XML and I 
>would like to have a short name for the "/>" token.
>
>
>
>I could name it END_OF_EMPTY_ELEMENT but I’d 
>like something more succinct. If there is a 
>short, standard name for "/>" I would certainly use it.
>
>
>
>/Roger
>
>


--
Contact info, blog, articles, etc. http://www.CraneSoftwrights.com/x/ |
Check our site for free XML, XSLT, XSL-FO and UBL developer resources |
Streaming hands-on XSLT/XPath 2 training class @US$125 (5 hours free) |
Essays (UBL, XML, etc.) http://www.linkedin.com/today/author/gkholman |
← Prev in month ← Prev in thread
Next in thread → Next in month →