[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Is there a short string that is commonly used to represent "/>"?
- From: "G. Ken Holman" <gkholman@CraneSoftwrights.com>
- To: Roger L Costello <costello@mitre.org>,"xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Sat, 19 Feb 2022 20:54:07 -0500
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 |
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]