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

  • From: David Carlisle <d.p.carlisle@g...>
  • To: Roger L Costello <costello@m...>
  • Date: Sat, 19 Feb 2022 15:30:27 +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

It isn't clear what system you are referring to here?  xpath has four operators <=, le, != and ne, but they are four different comparison operators,  which will give four different results, one is not a "short string" referring to the other (especially as all four names have length 2)


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

        &       amp
        <       lt

well it has two (of 5) predefined entity references amp and lt, yes.
 

Consider this empty XML element:

        <Test/>

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

/> isn't really a separate symbol it's just part of the syntax of an empty tag, started by <





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

        />      ???


If you parse XML as SGML using the xml declaration eg

then />  comes about due to the declarations

NESTC "/"
NET ">"

but I don't think anyone would call "NESTC (net-enabling start tag close) delimiter" a "short string" or "commonly used"



/Roger

 
David
 
_______________________________________________________________________

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: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



[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