XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[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 "/>"?

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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS