|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSLT Architecture: Next Step
Hello Bill, Bill said: Actually XML is very much a language; i.e., it has a well defined set of terminal symbols and a grammar describing which strings are acceptable as strings of the language. Obviously there are a number of parsers out there that utilize this language definition in order to parse these strings. I know I'm nit picking, but ... Didier replies: I am sorry Bill, but XML is not a language but a meta language. More specifically it is a set of syntax rules but it lacks any semantics or element structure. As you know, a fully qualified languages does include syntax, semantics and structure. The semantics and the structure are not provided by XML but by the designer of the XML based language. Using languages like DTD, schema, relax, etc... to define the keywords and the structural rules. XML is an empty shell, it doesn't provide you the keywords (i.e. the elements and attributes) you get in any well formed language. To transform an XML set of syntax rules into a language you need to add the keywords (i.e. the elements and the attributes) and the structural rules (i.e. one or several occurrences, what kind of element is allowed under that one, what are the attributes attached to a particular element, what kind of data content is allowed for a particular element, etc...). Thus, XHTML is a language, its structural rules are defined and elements and attributes specified. XML, per se, is the meta language used to create XHTML. Cheers Didier PH Martin http://didier-martin.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








