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
37 Posts 19 Posters 0 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.
  • M markkuk

    XML is a language, but it isn't a programming language. The same applies to HTML and SGML.

    C Offline
    C Offline
    ColinDavies
    wrote on last edited by
    #8

    XML is a language, but it isn't a programming language. The same applies to HTML and SGML Correct French and German are also languages, but are not programming languages either Regardz Colin Davies :)

    1 Reply Last reply
    0
    • M markkuk

      XML is a language, but it isn't a programming language. The same applies to HTML and SGML.

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

      I agree with that. XML is a storage format, some kind of data structure, the programming language would be XSL ORi.

      1 Reply Last reply
      0
      • G George

        Hm... althought correct, it doesn't introduce any value into this discussion. Having "Language" in the name expresses an intent, so knowing what a language is (in the computer field you should probably assume that language means a "formal language") all is left to do is to find a specification and see if it fits into the definition of (formal) language. So, having language in the name is not an asnswer, but it is a clue, which is what I was giving.

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #10

        So we're agreed that neither your comments or mine have added anything to the discussion, because the fact that the word language is used in the name indicates intent, but not if that goal was met. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.

        G 1 Reply Last reply
        0
        • M markkuk

          XML is a language, but it isn't a programming language. The same applies to HTML and SGML.

          F Offline
          F Offline
          Francisco Viella
          wrote on last edited by
          #11

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

          N 1 Reply Last reply
          0
          • G George

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

            C Offline
            C Offline
            Chris Maunder
            wrote on last edited by
            #12

            XML is a meta language, not a language. From XML.com: "XML specifies neither semantics nor a tag set. In fact XML is really a meta-language for describing markup languages." cheers, Chris Maunder (CodeProject)

            G 1 Reply Last reply
            0
            • C Christian Graus

              So we're agreed that neither your comments or mine have added anything to the discussion, because the fact that the word language is used in the name indicates intent, but not if that goal was met. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.

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

              Actually, we both added to the discussion: I added the clue and you added the skepticism ;)

              1 Reply Last reply
              0
              • C Chris Maunder

                XML is a meta language, not a language. From XML.com: "XML specifies neither semantics nor a tag set. In fact XML is really a meta-language for describing markup languages." cheers, Chris Maunder (CodeProject)

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

                What would be a difference between the meta- and language? Is the meta-language a subset of the formal languages(like a square is a rectangle)? Then if meta-language is a formal language, then if xml is meta-language then xml is also a formal language...

                P 1 Reply Last reply
                0
                • G George

                  Hm... althought correct, it doesn't introduce any value into this discussion. Having "Language" in the name expresses an intent, so knowing what a language is (in the computer field you should probably assume that language means a "formal language") all is left to do is to find a specification and see if it fits into the definition of (formal) language. So, having language in the name is not an asnswer, but it is a clue, which is what I was giving.

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

                  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 1 Reply Last reply
                  0
                  • G George

                    What would be a difference between the meta- and language? Is the meta-language a subset of the formal languages(like a square is a rectangle)? Then if meta-language is a formal language, then if xml is meta-language then xml is also a formal language...

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

                    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 N O K 4 Replies Last reply
                    0
                    • 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
                                          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