[Home] [By Thread] [By Date] [Recent Entries]
XML doesnt always start with the root element. http://www.w3.org/TR/REC-xml/ [1] document ::= prolog element Misc* It starts with an *optional* prolog. ---------------------------------------- David A. Lee dlee@c... http://www.xmlsh.org -----Original Message----- From: Costello, Roger L. [mailto:costello@m...] Sent: Saturday, November 23, 2013 11:51 AM To: xml-dev@l... Subject: The universality of "single starting point" Hi Folks, 1. Formal grammars require that a single symbol be the starting point for all productions. For example, the starting symbol is S in this grammar: S -> a Q a Q -> ... 2. Structured programming tells us that every function should have a single entry point. 3. XML has a single starting point - the root element Wow! I see this concept of a single starting point everywhere I look. Above I have provided three occurrences. Would you provide other occurrences please? /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: 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] |

Cart



