XML Schema Definition Tutorial

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 30

  • @MultiAblee
    @MultiAblee 3 роки тому +7

    I took a semester in information-structuring where we were supposed to learn all this. I am like 25 Minutes in and I am making your videos my god damn xml-bible. It's so clear suddenly. Your explanations are really really nice! Thank you so much!

  • @gokhantok2145
    @gokhantok2145 Рік тому +1

    Thank you! Your video helped me to understand and adjust a complex XSD file

  • @fuukowatty9817
    @fuukowatty9817 8 місяців тому

    Great video and an indruction to XML

  • @szw21
    @szw21 2 місяці тому

    i finally understand how xsd works, thank you!

  • @jarettduker1507
    @jarettduker1507 Рік тому +1

    Wonderful tutorial I learned a great deal. One point that confused me and might need more explanation. Your use of the ex: or xs: prefix before your element was a little unclear. Thank you so much.

    • @arbitrarytechnology9354
      @arbitrarytechnology9354  Рік тому +1

      Recall that the "xs" and "ex" prefixes are namespaces--a way of distinguishing duplicate names. For example XSD uses the tag "element", but perhaps you wish to use that for your own purpose. So we define "xs:element" to refer to the XSD one and "ex:element" for ours (the EXample). Now these can be anything you'd like and are defined at the top in the XMLNS attribute, so ex and xs aren't hard wired.

    • @jarettduker1507
      @jarettduker1507 Рік тому

      @@arbitrarytechnology9354 Thank you. I wrote that comment about 24 minutes in as you were giving definitions. Once the practical example came out, the question resolved itself. Thank you, working my way through your playlist now.

  • @changingclips
    @changingclips 2 роки тому +1

    Thank you, I was about to give up with XML schemas then I saw this video and finally its is starting to make sense. Great tutorial

  • @deepsudeep
    @deepsudeep 2 роки тому +1

    Hi I have bunch of xsd files for validation but my data is in excel format. How would you recommend transforming the excel to xml? Also some of the xsd files have "import namespace" which is unclear to me.

  • @dasKeks28
    @dasKeks28 3 роки тому +3

    Best XSD tutorial I could find, thanks a lot!

  • @cetilly
    @cetilly 2 роки тому +1

    Thank you Rich!!!! Fantastic tutorial on a topic that has so little coverage.

  • @sede189
    @sede189 2 роки тому +2

    This tutorial is hands-down fantastic!! Thanks for getting it out here

  • @hehhehdummy
    @hehhehdummy Рік тому +1

    xml is so verbose and ugly to me. I've tried before to learn more about xml in the past, but it wasn't imperative enough for me to overcome my aversity to xml in order to continue. Now, I have to work with some old soap services at my new job. This is a life saver. I can finally read this stuff. I still think it's weird and hate it though
    Thank you. good tutorial

  • @truepakistani9604
    @truepakistani9604 2 роки тому +1

    What is targetnamespace and why is it used for ?

    • @rrad6601
      @rrad6601 2 роки тому

      The TNS is the NS of what you're defining. For example, if you are defining a schema called newstuff, you might bind the TNS to www.example.com/newstuff. But your schema would still be allowed to use definitions from another namespace, like www.example.com/shareddefinitions. You can only have one TNS per schema, but *use* any number of other namespaces.

  • @charlottec.8168
    @charlottec.8168 Рік тому

    Thank you so much - this is a great tutorial with a helpful hands-on example. Much appreciated!

  • @dawid_dahl
    @dawid_dahl 2 роки тому

    Thank you so much for uploading this tutorial.

  • @juanfran1993
    @juanfran1993 3 роки тому +2

    Great content! Thank you so much, it has been very helpful for me

  • @erfanahmed_official
    @erfanahmed_official Рік тому

    a life saving content!

  • @mariumbegum7325
    @mariumbegum7325 2 роки тому

    Great tutorial! 😀

  • @mirazimi
    @mirazimi 3 роки тому +1

    Very Helpful!

  • @sandyprifti2462
    @sandyprifti2462 3 роки тому +1

    Very helpful! Thank you!

  • @IngmarCrone
    @IngmarCrone Рік тому

    First sentence, immediately bragging ;)

  • @venig8954
    @venig8954 3 роки тому

    Is xml schema a database or its a schema like in database where table structure etc are defined. And we need to follow the table structure??

    • @arbitrarytechnology9354
      @arbitrarytechnology9354  3 роки тому +1

      Tables and databases are but one use for a schema (though RDBMs often call their layout "schema"). In general, a schema is a language definition, such as Backus Naur form of a formal language. A "table" can be viewed as one element definition, but only using XSD "sequence" specifiers...a table's order must always be the same in that child elements must appear in that order. For example, a table with columns "firstname", "lastname", "phone" has only one order. A more general schema might have "firstname", "optional middle name", "lastname", "optional maiden name", "optional home phone", "optional cell phone", "optional business phone", etc. This wouldn't fit well into a table record because so many optional items would waste space, and which is the "phone"? So XSD schemas can be more flexible, but more complicated than table records

    • @venig8954
      @venig8954 3 роки тому +1

      Omg..i just needed a very basic and simple definition to understand what schema is. You have completely deviated from what I was looking for!. From what I learnt,xml schema is just like a database schrma but a bit more easier to use than database schema which is why xml is more widely used .. As simple as that! Xml schema is not something which is used only for the purpose of validation,as I have heard from many trainings. Ppl think thay xml schema is for validation.lol! Its not. You have the option of validating ur xml to a schema in xml language. Dats y we do so ,which is not the case in database. Xml schema is needed exactly when u need a table structure,say for example in projects. Else for a a simple xml with 3-4 lines code, its not required. I hve seen ppl generate schema for example xmls also,which is totally unnecessary.

    • @venig8954
      @venig8954 3 роки тому

      Schema is not a language definition.even in database ,its basically to define rows n columns n tables etc.

    • @arbitrarytechnology9354
      @arbitrarytechnology9354  3 роки тому +4

      @@venig8954 Sorry I wasn't able to answer your question...I thought you were asking about schemas in general. The project that made me create this video was, in fact, part of a formal language definition including a compiler. The XML meta-language ("tags and attributes") was used to remove the need for tokenization, and XSD described the grammar convention (the parser) of that custom language. I'm no longer sure what you were asking, but it seems you've already found the answer you needed elsewhere. Thanks for watching and I hope you enjoyed the video

    • @MultiAblee
      @MultiAblee 3 роки тому +4

      @@venig8954 You're being an asshole. He took time outta his day to answer you, at least provide well-formed criticism. Seriously have some manners.