Re: Elements with explicit behavior versus elements that contain data used to produce behavior
Roger L Costello <[email protected]> Wed, 8 Feb 2023 11:43:31 +0000
| Newsgroups | gmane.text.xml.devel |
|---|---|
| Message-ID | <SA9PR09MB5952B48AAA1B65DFA3A456D7C8D89@SA9PR09MB5952.namprd09.prod.outlook.com> |
Michael Kay wrote: ---------------------------------------------- Consider three English sentences: (a) There are tomatoes in the fridge. (b) Go to the shop and buy more tomatoes. (c) How many tomatoes are there in the fridge? English is flexible: A sentence can provide information, give instructions, or ask questions. XML is equally flexible. ---------------------------------------------- That is excellent. My <airport> use case is an example of (a). The <airport> element provides information. An aircraft flight management system (FMS) uses that information to fly the airplane. My <xsl:value-of ...> use case is an example of (b). The <value-of> element is an instruction. An XSLT processor reacts to the presence of that element with a certain specific defined behavior. What is an example of (c)? What XML asks a question? /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