Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. A language by any other name

A language by any other name

Scheduled Pinned Locked Moved The Lounge
questionxmldiscussion
37 Posts 19 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Paul Watson

    George I am not sure whether you are brave or daft because that was Christian you just replied to... Whichever it is, better get some armour on there boyo... :-D "In ccccooorrrnneeerrr one we have the braaaaaavvvve Georrrrrrggggeeee... and innnnn corner twooo the Mr. Fantastical Skeptic Cccchhrriissttiiaaann..." ;P I had better add to the discussion though, hadn't I? :-D regards, Paul Watson Cape Town, South Africa e: paulmwatson@email.com w: vergen.org

    G Offline
    G Offline
    George
    wrote on last edited by
    #17

    ;)

    1 Reply Last reply
    0
    • G George

      Hm... in that case what does the "L" stands for in "XML"?

      K Offline
      K Offline
      Kastellanos Nikos
      wrote on last edited by
      #18

      Well, XML is a Language, but not a programming language. I have a harder one, what you thing about SQL? Is it a programming language? - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234

      A P M 3 Replies Last reply
      0
      • P Paul Watson

        Interesting this: meta A prefix meaning one level of description higher. If X is some concept then meta-X is data about, or processes operating on, X. For example, a metasyntax is syntax for specifying syntax, metalanguage is a language used to discuss language, meta-data is data about data, and meta-reasoning is reasoning about reasoning. LOL, come to think about our very discussions could be considered meta. Our discussions on how this forum should work and does work could be considered meta-forum discussions, surely? XML is a meta-language as Chris points out. It is still a language though and along with your square/rectangle example you could say XML is to data as Shape is to Rectangle, a description. Not a subset but a superset. *groans* this is way too early in the morning for me... regards, Paul Watson Cape Town, South Africa e: paulmwatson@email.com w: vergen.org

        G Offline
        G Offline
        George
        wrote on last edited by
        #19

        Right. Then again, the intent of XML being a meta-language might does not mean that it actually is a meta-language. Perhaps it turned out to be actual language despite all the efforts? ;) (even thought they were "making" a shape, a rectangle came out) leave alone meta - use the full phase and you get: http://www.m-w.com/cgi-bin/dictionary?va=metalanguage Main Entry: meta·lan·guage (snip) : a language used to talk about language

        P 1 Reply Last reply
        0
        • P Paul Watson

          Interesting this: meta A prefix meaning one level of description higher. If X is some concept then meta-X is data about, or processes operating on, X. For example, a metasyntax is syntax for specifying syntax, metalanguage is a language used to discuss language, meta-data is data about data, and meta-reasoning is reasoning about reasoning. LOL, come to think about our very discussions could be considered meta. Our discussions on how this forum should work and does work could be considered meta-forum discussions, surely? XML is a meta-language as Chris points out. It is still a language though and along with your square/rectangle example you could say XML is to data as Shape is to Rectangle, a description. Not a subset but a superset. *groans* this is way too early in the morning for me... regards, Paul Watson Cape Town, South Africa e: paulmwatson@email.com w: vergen.org

          N Offline
          N Offline
          NormDroid
          wrote on last edited by
          #20

          Paul, to add the one you missed... meta-file - file about file!

          T 1 Reply Last reply
          0
          • F Francisco Viella

            I agree, good point there markkuk. XML is a language for defining data structures, not a programming language.

            N Offline
            N Offline
            NormDroid
            wrote on last edited by
            #21

            Errrm that was my basic understanding of what XML is all along, and I don't want anybody else coulding the issue.

            1 Reply Last reply
            0
            • P Paul Watson

              Interesting this: meta A prefix meaning one level of description higher. If X is some concept then meta-X is data about, or processes operating on, X. For example, a metasyntax is syntax for specifying syntax, metalanguage is a language used to discuss language, meta-data is data about data, and meta-reasoning is reasoning about reasoning. LOL, come to think about our very discussions could be considered meta. Our discussions on how this forum should work and does work could be considered meta-forum discussions, surely? XML is a meta-language as Chris points out. It is still a language though and along with your square/rectangle example you could say XML is to data as Shape is to Rectangle, a description. Not a subset but a superset. *groans* this is way too early in the morning for me... regards, Paul Watson Cape Town, South Africa e: paulmwatson@email.com w: vergen.org

              O Offline
              O Offline
              ORi x
              wrote on last edited by
              #22

              Actually meta is a word that comes from the greek and stands for "beyond", that would be a more approximate translation. For example, metaphisics is beyond-phisics ORi

              1 Reply Last reply
              0
              • G George

                Right. Then again, the intent of XML being a meta-language might does not mean that it actually is a meta-language. Perhaps it turned out to be actual language despite all the efforts? ;) (even thought they were "making" a shape, a rectangle came out) leave alone meta - use the full phase and you get: http://www.m-w.com/cgi-bin/dictionary?va=metalanguage Main Entry: meta·lan·guage (snip) : a language used to talk about language

                P Offline
                P Offline
                Paul Watson
                wrote on last edited by
                #23

                Well I think their intent definitley was for XML to be a meta-language (not in the formal programming language definition though) and they have succeeded in it. Now however naturally we have all this data described by XML sitting around and we need a way of processing it, acting on it. Thus came about XSL which is a programming language. In a bad example XML is to a SQL database and XSL is to ASP or C#. btw what was the original question? (is that a meta-question ? LOL) Oh and ORI below throws us for a loop by correctly stating that meta is also beyond, as in metaphysics or beyond-physics... so could XML be beyond language? ;P regards, Paul Watson Cape Town, South Africa e: paulmwatson@email.com w: vergen.org

                G 1 Reply Last reply
                0
                • P Paul Watson

                  Well I think their intent definitley was for XML to be a meta-language (not in the formal programming language definition though) and they have succeeded in it. Now however naturally we have all this data described by XML sitting around and we need a way of processing it, acting on it. Thus came about XSL which is a programming language. In a bad example XML is to a SQL database and XSL is to ASP or C#. btw what was the original question? (is that a meta-question ? LOL) Oh and ORI below throws us for a loop by correctly stating that meta is also beyond, as in metaphysics or beyond-physics... so could XML be beyond language? ;P regards, Paul Watson Cape Town, South Africa e: paulmwatson@email.com w: vergen.org

                  G Offline
                  G Offline
                  George
                  wrote on last edited by
                  #24

                  Metalanguage is also a language, hence XML is a language. XML.com also mentiones that it is a "markup language". Still a language. A mere fact that you can describe data in it has no meaning. Only it's definition can tell, not it's name nor purpose. Does it have grammar etc... If it has all the proper structures typical for formal languages then it's a formal language.

                  1 Reply Last reply
                  0
                  • K Kastellanos Nikos

                    Well, XML is a Language, but not a programming language. I have a harder one, what you thing about SQL? Is it a programming language? - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234

                    A Offline
                    A Offline
                    Anders Molin
                    wrote on last edited by
                    #25

                    Hmmmmm, it *is* possible to "program" in SQL, if you make Stored Procedures, but still, I would not call it a programming language. It's a query language... - Anders Money talks, but all mine ever says is "Goodbye!"

                    J 1 Reply Last reply
                    0
                    • P Paul Watson

                      Interesting this: meta A prefix meaning one level of description higher. If X is some concept then meta-X is data about, or processes operating on, X. For example, a metasyntax is syntax for specifying syntax, metalanguage is a language used to discuss language, meta-data is data about data, and meta-reasoning is reasoning about reasoning. LOL, come to think about our very discussions could be considered meta. Our discussions on how this forum should work and does work could be considered meta-forum discussions, surely? XML is a meta-language as Chris points out. It is still a language though and along with your square/rectangle example you could say XML is to data as Shape is to Rectangle, a description. Not a subset but a superset. *groans* this is way too early in the morning for me... regards, Paul Watson Cape Town, South Africa e: paulmwatson@email.com w: vergen.org

                      K Offline
                      K Offline
                      Kastellanos Nikos
                      wrote on last edited by
                      #26

                      ...some nice meta-meta-thoughts :rolleyes: - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234

                      P 1 Reply Last reply
                      0
                      • K Kastellanos Nikos

                        Well, XML is a Language, but not a programming language. I have a harder one, what you thing about SQL? Is it a programming language? - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234

                        P Offline
                        P Offline
                        Paul Watson
                        wrote on last edited by
                        #27

                        tSQL (Transactional Structured Query Language i beleive) is a programming language. You can query the SQL database with tSQL as well as perform IF statements, get the time, date, access files etc. all using tSQL. Other variations could be mySQL etc. I may be totally wrong though... regards, Paul Watson Cape Town, South Africa e: paulmwatson@email.com w: vergen.org

                        1 Reply Last reply
                        0
                        • K Kastellanos Nikos

                          ...some nice meta-meta-thoughts :rolleyes: - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234

                          P Offline
                          P Offline
                          Paul Watson
                          wrote on last edited by
                          #28

                          :rolleyes: oi vey, my head, my head! regards, Paul Watson Cape Town, South Africa e: paulmwatson@email.com w: vergen.org

                          1 Reply Last reply
                          0
                          • K Kastellanos Nikos

                            Well, XML is a Language, but not a programming language. I have a harder one, what you thing about SQL? Is it a programming language? - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234

                            M Offline
                            M Offline
                            markkuk
                            wrote on last edited by
                            #29

                            A real programming language should be "Turing complete", i.e. you can do in the language anything a Turing Machine can do. One way to prove Turing Completeness of a language is to write a Turing Machine simulator in it. Standard SQL isn't Turing complete, but most database products contain language extensions needed to make it a true programming language.

                            1 Reply Last reply
                            0
                            • A Anders Molin

                              Hmmmmm, it *is* possible to "program" in SQL, if you make Stored Procedures, but still, I would not call it a programming language. It's a query language... - Anders Money talks, but all mine ever says is "Goodbye!"

                              J Offline
                              J Offline
                              James Pullicino
                              wrote on last edited by
                              #30

                              Actually its not only a query language, its a Structured query language! ... I am so wise... :suss: (2b || !2b)

                              A 1 Reply Last reply
                              0
                              • N NormDroid

                                Paul, to add the one you missed... meta-file - file about file!

                                T Offline
                                T Offline
                                Tomasz Sowinski
                                wrote on last edited by
                                #31

                                meta-data meta-beats meta-file meta-hands-down :) Tomasz Sowinski -- http://www.shooltz.com

                                1 Reply Last reply
                                0
                                • J James Pullicino

                                  Actually its not only a query language, its a Structured query language! ... I am so wise... :suss: (2b || !2b)

                                  A Offline
                                  A Offline
                                  Anders Molin
                                  wrote on last edited by
                                  #32

                                  LOL - Anders Money talks, but all mine ever says is "Goodbye!"

                                  1 Reply Last reply
                                  0
                                  • N Not Active

                                    I was just having a discussion with someone about web development. We had a difference in opinion in regards to the XML "language" because I don't consider XML to be a "language". Anyone else have an opinion? (That's a loaded question for this group)

                                    P Offline
                                    P Offline
                                    Phil Boyd
                                    wrote on last edited by
                                    #33

                                    Then there is the UML. A language needs a syntax and tokens to express a concept. -- Am I on the posting list now?;P Phil Boyd MCP "I took the road less traveled..."

                                    1 Reply Last reply
                                    0
                                    • N Not Active

                                      I was just having a discussion with someone about web development. We had a difference in opinion in regards to the XML "language" because I don't consider XML to be a "language". Anyone else have an opinion? (That's a loaded question for this group)

                                      J Offline
                                      J Offline
                                      Jason Gerard
                                      wrote on last edited by
                                      #34

                                      Just as the name implies. It's a Markup Language. NOT a computer programming language. Just as SGML, HTML, and others are a Markup Languages, not a Programming language. They describe their content. Jason Gerard, Master of Kung Foo

                                      1 Reply Last reply
                                      0
                                      • N Not Active

                                        I was just having a discussion with someone about web development. We had a difference in opinion in regards to the XML "language" because I don't consider XML to be a "language". Anyone else have an opinion? (That's a loaded question for this group)

                                        Z Offline
                                        Z Offline
                                        Zyxil
                                        wrote on last edited by
                                        #35

                                        Well, we now have that xml is a language, but is not a programming language... I would actually say that xml is a programming language. The word programming implies that you are affecting the operation of a computer by arranging the information in it (or is put into it). A "program" then, is an arrangement of information affecting the operation of a computer. I would argue that there really is no distiction between data and instruction; it is convenient to separate the information into these two camps in order to facilitate processing. XML is not just an organizing language like the Markup languages that it is based on. It is a data description language that provides the meta information necessary to process it efficiently. XML does not describe HOW the information is to be processed, however. The point has been noted that XSL is the "language" portion of the XML/XSL combo in that it describes the howness of xml. Let's take a look at that bit. XSL is an XML language that describes the transformation of XML. The results of the transformation can be XML or anything else. Does XSL have "instruction"? or is it a static document like XML? (This is kind of like the distinction between a matrix and a matrix operation.) An XSL transformation is an XML document, so it could be argued that it is static, and no more a "programming language" than XML. Yet it describes "usage" or "instuction" where XML does not. (Or does it?) From that perspective then, we could also say that a compiled c++ executable is not more "active" than an XSL transformation. We grant it active qualities because we, as programmers, think in terms of the "actions" taken upon "data". This disctinction is really just a myth (in the larger joseph campbell sense), a personalization that is useful to our profession. To the OS our "executable" is just data that is context switched in and out of memory, data upon which it performs transformations. XML and XSL then, are programming languages. ;P -John

                                        P J 2 Replies Last reply
                                        0
                                        • Z Zyxil

                                          Well, we now have that xml is a language, but is not a programming language... I would actually say that xml is a programming language. The word programming implies that you are affecting the operation of a computer by arranging the information in it (or is put into it). A "program" then, is an arrangement of information affecting the operation of a computer. I would argue that there really is no distiction between data and instruction; it is convenient to separate the information into these two camps in order to facilitate processing. XML is not just an organizing language like the Markup languages that it is based on. It is a data description language that provides the meta information necessary to process it efficiently. XML does not describe HOW the information is to be processed, however. The point has been noted that XSL is the "language" portion of the XML/XSL combo in that it describes the howness of xml. Let's take a look at that bit. XSL is an XML language that describes the transformation of XML. The results of the transformation can be XML or anything else. Does XSL have "instruction"? or is it a static document like XML? (This is kind of like the distinction between a matrix and a matrix operation.) An XSL transformation is an XML document, so it could be argued that it is static, and no more a "programming language" than XML. Yet it describes "usage" or "instuction" where XML does not. (Or does it?) From that perspective then, we could also say that a compiled c++ executable is not more "active" than an XSL transformation. We grant it active qualities because we, as programmers, think in terms of the "actions" taken upon "data". This disctinction is really just a myth (in the larger joseph campbell sense), a personalization that is useful to our profession. To the OS our "executable" is just data that is context switched in and out of memory, data upon which it performs transformations. XML and XSL then, are programming languages. ;P -John

                                          P Offline
                                          P Offline
                                          Paul Watson
                                          wrote on last edited by
                                          #36

                                          wow...*sits stunned* run that by us again.. :-D Especially love the ..."really just a myth (in the larger joseph campbell sense), a personalization"... bit. Just to add my two cents: XML is simply a text file with tags of special meaning. Somewhere someone sad that < and > denote a tag and anything outside of those two is data. To a computer which does not have an XML parser (which HAS to have a default XSL template to actually work) it is just that, a text file. Even to a computer with this parser the XML document is pretty much just a text file until one applies a set of instructions to it through an XSL template. Along these lines how would one describe an ASP file? It has data and instructions mixed and is useless without some interpreter which understands the instructions, but not the data. Man, this is confusing stuff. I think I will stick to my Joseph Campbell inspired myth of "programmes" and "data". regards, Paul Watson Cape Town, South Africa e: paulmwatson@email.com w: vergen.org

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups