[Home] [By Thread] [By Date] [Recent Entries]

  • From: Dan Brickley <danbri@d...>
  • To: Roger L Costello <costello@m...>
  • Date: Sat, 19 Feb 2022 15:42:18 +0000



On Sat, 19 Feb 2022 at 13:03, Roger L Costello <costello@m...> wrote:
Hi Folks,

For many relational operators there is a short string that represents the operator, e.g.,

        <=      le
        !=      ne

In XML there is a short string that represents reserved symbols, e.g.,

        &       amp
        <       lt

Consider this empty XML element:

        <Test/>

The "/>" symbol indicates the element is empty.

Is there a short string that is commonly used to represent the symbol that indicates the element is empty?

        />      ???

/Roger


”Self-closing tag”?

 calls them “empty-element tags”, and gives a short name in the grammar:

Tags for Empty Elements
[44]   EmptyElemTag   ::=   '<' Name (S Attribute)* S? '/>'[WFC: Unique Att Spec]


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member