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

From
Dimitre Novatchev <>
To
Roger L Costello <>
Date
2022-02-19T18:31:15Z
ID
<>
Thread
Re: [xml-dev] Is there a short string that is commonly used to represent "/>"?
Hi Roger,


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

>           <=      le
>           !=      ne

This is not true. The XPath operators on the left and on the right are different and have different semantics.

Thanks,
Dimitre


On Sat, Feb 19, 2022 at 5:03 AM Roger L Costello <[email protected]> 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

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all
------------------------------------
Quality means doing it right when no one is looking.
-------------------------------------
You've achieved success in your field when you don't know whether what you're doing is work or play
-------------------------------------
To achieve the impossible dream, try going to sleep.
-------------------------------------
Facts do not cease to exist because they are ignored.
-------------------------------------
Typing monkeys will write all Shakespeare's works in 200yrs.Will they write all patents, too? :)
-------------------------------------
Sanity is madness put to good use.
-------------------------------------
I finally figured out the only reason to be alive is to enjoy it.