XML Schema (XSD) Beginner Tutorial with Demo

Поділитися
Вставка
  • Опубліковано 30 січ 2025

КОМЕНТАРІ • 510

  • @tiranito2834
    @tiranito2834 10 місяців тому +6

    This was the best video ever on this subject. I simply don't get why teachers feel the need to overcomplicate things during explanations, they only cause themselves to make mistakes and leave us with a half assed class where all we say were validation failures for 2 hours on end. This video has singlehandedly carried all programmers and people learning XML through their degrees or bootcamps for 3 years straight. Thanks a lot.
    One of the things that this video does implicitly that no other resource explains (surprisingly not even official documentation explains this lol) is the reason WHY we use a separate tag for complex elements instead of it just being a type attribute as with the other fundamental types. By learning what you learn in this video, you also end up understanding WHY the schema works in the first place and what the purpose of the definitions within the URI are.

    • @RaghavPal
      @RaghavPal  10 місяців тому

      I am so humbled to read this.. Thanks a lot.

  • @ChitoDP
    @ChitoDP 2 роки тому +5

    I am applying for an IT role in a company that I really like, the manager got interested in my resume and one of the job requirements is knowledge in XML, so I am preparing for the interview.
    Thank you so much for these videos!

  • @rehabalsaadi7335
    @rehabalsaadi7335 3 роки тому +58

    i hope my professor to open your video and start Learning before he came to the class and And he teaches us wrong things and complicates the subject.🙂🙂💔

    • @RaghavPal
      @RaghavPal  3 роки тому +6

      So happy & humbled to see your message Rehab

    • @DiluculoOrtus
      @DiluculoOrtus Рік тому +3

      This comment is hilarious

  • @gianluca_ruggieri
    @gianluca_ruggieri 4 роки тому +82

    Hi Raghav, I truly believe that UA-cam should come up with a kind of bonuses for channels like your’s. You are a great teacher, and your channel moves the world forward, especially considering your courses and lectures are free 👏👏

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

      I am so happy and humbled to see this message Gianluca

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

      Well said. Fr

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

      Sorry to be so off topic but does anyone know a tool to get back into an Instagram account..?
      I was dumb forgot the login password. I would love any assistance you can offer me

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

    Straightforward and easy to understand material. Many explanation on the web always assumes we have some prior knowledge of certain technical terms already and require us to google more just to understand the explanation. Your explanation clear and concise. Thanks.

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

      Thanks for the kind words Mark

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

    Thanks raghav, spent 1 hr to understand xsd through online documents, kuch palle nahi pada. Aapne 10 min me samjhadiya... thankyou 😊

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

    after reading many pages of theory i was completely lost. thans to your video now i understand it very clearly.
    you're doing a great job, keep on.

  • @Fallon922
    @Fallon922 2 роки тому +6

    You are truly amazing. I’m currently in my MSHCI program and this has help me immensely. Thank you so much!!!!

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

      So glad to know this helped Fallon

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

    Thank u. Needed help in understanding for an assignment. My teachers just gave slides, barely explained anything and confused me. However, this 10 min xml video of your really made everything clear. Thanks again :)

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

      You're very welcome Shagufta

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

    just now completed watching all your videos really helpful sir. Great teacher in YT history making complex topics in to simple manner. Respect to your efforts can't stop thanking you...........

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

      Most welcome and thanks for the kind words Nikhil. Humbled

  • @jonesmike53
    @jonesmike53 3 роки тому +13

    This is a really great into to XML / XSD. Many thanks for such a clear and succinct presentation.

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

    I WATCHED THREE VIDEOS ON THIS TOPIC BUT THE ONE YOU SAID IS MORE CLEAR AND COMARING WITH DTD MAKES ME MORE CLEAR

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

      So happy to know this helped Ashok

  • @cookinggardeningandpets1559
    @cookinggardeningandpets1559 3 роки тому +11

    Great Explanation. Absolutely loved it.
    Also Thank you sir for showing us all the available online websites for practicing.

  • @HariKrishna-r2b
    @HariKrishna-r2b Рік тому

    Hi Raghav ji, Your way of teaching is awesome. Even non Technical people can also understand very easily. Thank you so much

  • @SundayStreamer
    @SundayStreamer 3 роки тому +11

    Absolutely on point and very well defined. Thankyou for making it simpler for me

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

      You're very welcome Aamir

  • @brooks9986
    @brooks9986 3 місяці тому

    You described it better than my lecturer for 6h broski. Thank mate!

    • @RaghavPal
      @RaghavPal  3 місяці тому

      Glad it helped Brooks.. keep learning

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

    Very nice into to XSD for a dev who has somehow managed to avoid it for years, thanks!

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

      So happy to know this Robyn

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

    Best best super best video all over the world thank uuuuu very very much 💕💕💕

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

      Most welcome Bhawana

  • @creativecreation-no5ge
    @creativecreation-no5ge 2 місяці тому

    sir it'sa great explanation you are the only one by whom's video i understood it very clearly thank you so much

  • @johshow
    @johshow 8 днів тому

    Finally someone explained what I was looking for, omg
    Thanks !!

    • @RaghavPal
      @RaghavPal  7 днів тому

      Glad to know this helped

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

    Thank you sooo much for this great XML series 👍🏻👍🏻👍🏻

  • @deebamohi-ud-din3150
    @deebamohi-ud-din3150 3 роки тому

    Thanku sir nearly watched 3 videos but only u made me understand..

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

      so happy to know it helped Deeba

  • @bigguschungus968
    @bigguschungus968 18 днів тому

    Absolute legend, well explained and to the point with examples.

    • @RaghavPal
      @RaghavPal  17 днів тому

      Thanks for watching and appreciating

  • @ManjunathSampangi
    @ManjunathSampangi 4 роки тому +1

    Very good and clear explaination. Really I understand what is xsd and it's structure and how to validate. Please keep up the good work. 🙏

    • @RaghavPal
      @RaghavPal  4 роки тому

      Glad it was helpful Manjunath

  • @ajayingle6626
    @ajayingle6626 4 роки тому

    The way you teach is excellent. Thanks Raghav👍

    • @RaghavPal
      @RaghavPal  4 роки тому

      Thanks and welcome Ajay

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

    Exactly what I needed, thank You!

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

    Short and precise
    Crystal clear explanation sir
    Thank you so much

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

    Hello from Russia! Thank you for gentle introduction.

  • @supriyomitra6135
    @supriyomitra6135 Рік тому +2

    Excellent video...thank you so much, this is exactly what I was looking for. I will definitely go through your other videos too.

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

      Glad it was helpful Supriyo

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

    Thanks for this simple yet very useful video (the links to the files is a great detail)

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

      You're very welcome Antoine

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

    Mr.Raghav thanks for this lecture. It's very helpful for my exam preparation and also it reduced my prep time also.❤

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

      Great to know this Vignesh

  • @jangty10
    @jangty10 Місяць тому

    You are a wonderful teacher, from South Korea in 2025.
    Happy new year~

    • @RaghavPal
      @RaghavPal  Місяць тому

      Thanks! Happy New Year to you too Taeyoung

  • @chaithratitu7931
    @chaithratitu7931 Місяць тому

    Even though i am a beginner,i understood everything perfectly

    • @RaghavPal
      @RaghavPal  Місяць тому +1

      Great to know this Chaithra

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

    This xml playlist was very useful sir
    Thank you

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

      Most welcome Santhosh

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

    The best example ive watched and ive watched a lot

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

      humbled to see this Aidan

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

    Amazing explanation with a friendly and sweet voice

  • @infojr.2299
    @infojr.2299 2 роки тому +1

    Thank you King! Best tutorial ever!

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

    very simple teaching, easily understood by all. good work!

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

      Glad it was helpful Deepa

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

    Fantastic series on XML! Exactly what I was looking for!

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

    Thanks Raghav. Great teacher you are.

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

    you saved my life, and my sleep by the same occasion ty

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

      So happy to know Tomas

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

    This was a excellent explanation. It was very clear and to the point.
    Subbed!

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

    Чувак спасибо тебе огромное, ты просто лучший. Если бы каждый человек на планете объяснял как делаешь это ты мы бы жили в удивительном мире

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

      Большое спасибо за добрые слова

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

    Thanks for introducing these two validating websites! very useful to check the syntax for beginner

  • @Eva-kt3tu
    @Eva-kt3tu 7 місяців тому

    thank you so much for saving my time of reading very loooong slides of the university course

    • @RaghavPal
      @RaghavPal  7 місяців тому

      Most welcome Eva

  • @stephendevlin97
    @stephendevlin97 10 місяців тому

    Thank you Raghav, great course and well thought out and presented.

    • @RaghavPal
      @RaghavPal  10 місяців тому

      Most welcome Stephen

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

    Very quick and crisp demo.

  • @keithstern7777
    @keithstern7777 7 місяців тому

    Well presented and informative, even to the untrained this video is very useful. Thank you so much for sharing

    • @RaghavPal
      @RaghavPal  7 місяців тому

      Most welcome Keith

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

    one of the best video on xml

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

    Hi Raghav. It was a very short and useful video. Very nice.

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

    Excellent Raghav, very crisp course.

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

    very clear!! Please keep making videos and continue the good work!

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

    Hi Raghav, really informative, clear and well presentation, thank you!

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

    Thank you Raghav. Very clear explanation!

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

    Thanks Raghav, its simple and neat, easy to understand.

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

    you deserve millions of views for explanation like this...thanks a lot sir

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

    Thank You! Refreshingly precise explanation.

  • @ThroughMyLenz9872
    @ThroughMyLenz9872 18 днів тому

    This was very helpful, really well explained. Thanks a mil!

    • @RaghavPal
      @RaghavPal  17 днів тому

      Most welcome.. keep learning

  • @ilonaochudlo4547
    @ilonaochudlo4547 11 місяців тому

    Thank you. You explained it to me very well. You're doing a brilliant job

    • @RaghavPal
      @RaghavPal  11 місяців тому

      You're very welcome Ilona

  • @vivekpunathil3145
    @vivekpunathil3145 11 місяців тому

    Thank you Sir . My sincere gratitude for this video❤

    • @RaghavPal
      @RaghavPal  11 місяців тому

      Glad it was helpful Vivek

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

    Fantastic tutorial!

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

    Your tutorial helped me and others, thank you 🙂

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

    very clear explanation. want a tutorial on DTD also.

  • @tsionafework3431
    @tsionafework3431 4 роки тому

    You are very good teacher. It helps me a lot.

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

    Crystal clear.. nice explanation

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

    XML made easy - thank you for your explanation!

  • @ShirmilWelgama
    @ShirmilWelgama 16 днів тому

    Billions of thanks brother...

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

    An excellent video: short and clear. Thx!

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

    Excellent learning videos. I wish there is a way, where you can give us small, small exercise or practice problems and solutions after we are done. This is like learning 'how to drive a car', but unless and until we are not challenged with a quiz, we won't be able to learn.

  • @RelaxingMusic-fj6ug
    @RelaxingMusic-fj6ug 4 місяці тому

    Great sessions brother😀

    • @RaghavPal
      @RaghavPal  4 місяці тому

      Thanks for the visit

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

    Thanks a lot Raghav.. Very well taught..

  • @smiley-wu1kn
    @smiley-wu1kn 3 роки тому +2

    I learned a lot about XML from just 7 videos; thank you very much. I began XML because I recently completed a java course and now I'm on my way to create my first app. Will you upload more videos about XML? And also, where should I go from here or what else should I learn if I want to make an android app using XML for UI and Java for back-end? Again, thank you very much!!!

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

      Great to know. I will plan more sessions in some time, If you want to learn more can check my tutorials here - automationstepbystep.com/

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

    Simple and great explanation, Thank you Raghav..

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

    Great introduction! I wish you included a bit about ``.. This seems to only cover too little.

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

      Scott
      I will plan more videos and cover this

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

    Thank you for making it more easier 😊

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

    Thank you so much for this video....pls make more videos like it ....with different formats as well

  • @patsingsandshares
    @patsingsandshares 20 днів тому

    This was so useful. Thank you so much!

  • @vipulparashar311
    @vipulparashar311 Місяць тому

    Very nice and easy to understand video.

    • @RaghavPal
      @RaghavPal  Місяць тому

      Thanks! I'm glad you found it easy to follow Vipul

  • @alokapathiraja3060
    @alokapathiraja3060 15 днів тому

    Apparently, my campus specializes in teaching patience.
    3 days on campus vs. 1 hour here🫠 Guess I should've paid tuition fees to this video instead. Thankyou!!

    • @RaghavPal
      @RaghavPal  15 днів тому

      Glad I could save you some time. Do share to help all Alok

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

    Thanks so much! Really clear and helpful. And thanks a lot for showing the online tools, I didn’t know about them.

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

    Thank you very much. God bless you. You are Great Teacher

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

    Hi Raghav, thank you so much. I found the video very helpful.

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

      Glad it was helpful Gayatri

  • @johncena-fx2ur
    @johncena-fx2ur 2 роки тому +1

    Amazing quality video

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

    very clear explanation my friend, thank you

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

    great explanation ..keep continuing ..even a beginner can get the hang of it. Thank you

  • @RahulSharma-qn9gi
    @RahulSharma-qn9gi 2 роки тому

    thank you ssssssooooooomuch... Very helpful.
    God Bless you.
    I've been struggling on this understanding and got a useful video

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

      You are very welcome Rahul

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

    Very clear explanation, thank you!

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

    I m very thankfull to watch this ...learned a lot from this ...sir can you plz tell that further more videos will be published or not ?

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

      Hi Yash, I will plan to add more videos in future, YOu can find all here - automationstepbystep.com/

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

    Sir you are really an amazing teacher to help me on alllll API content also ,my doubt is how to edit XML datas using JAVA sir ,any video from u is there before

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

      I do not have a video but here's a guide on editing XML data using Java:
      1. Choose a Parsing API:
      - DOM (Document Object Model):
      - Loads entire XML document into memory for tree-like manipulation.
      - Ideal for small to medium-sized files and frequent modifications.
      - SAX (Simple API for XML):
      - Processes XML sequentially, event-driven approach.
      - Suitable for large files and memory-efficiency.
      - StAX (Streaming API for XML):
      - Pull-based parsing, offering more control over parsing flow.
      - Useful for large files and specific parsing needs.
      2. Load XML Document:
      - DOM:
      ```java
      DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
      DocumentBuilder builder = factory.newDocumentBuilder();
      Document doc = builder.parse("your_xml_file.xml");
      ```
      - SAX:
      ```java
      SAXParserFactory factory = SAXParserFactory.newInstance();
      SAXParser parser = factory.newSAXParser();
      XMLReader reader = parser.getXMLReader();
      reader.setContentHandler(new YourContentHandler()); // Implement ContentHandler
      reader.parse("your_xml_file.xml");
      ```
      3. Navigate and Modify:
      - DOM:
      ```java
      // Access elements:
      NodeList nodes = doc.getElementsByTagName("elementName");
      Node firstElement = nodes.item(0);
      // Modify attributes:
      Element element = (Element) firstElement;
      element.setAttribute("attributeName", "newValue");
      // Modify text content:
      element.setTextContent("New text content");
      ```
      - SAX: Handle events like `startElement`, `endElement`, `characters` in your `ContentHandler` implementation to modify data as it's parsed.
      4. Save Changes:
      - DOM:
      ```java
      TransformerFactory transformerFactory = TransformerFactory.newInstance();
      Transformer transformer = transformerFactory.newTransformer();
      transformer.transform(new DOMSource(doc), new StreamResult(new File("updated_xml_file.xml")));
      ```
      - SAX: SAX doesn't directly modify the original document. Implement writing logic within your `ContentHandler`.
      Additional Considerations:
      - Namespaces: Handle XML namespaces appropriately for correct element retrieval.
      - Validation: Consider validating XML against a schema (DTD or XSD) to ensure consistency.
      - Libraries: Explore libraries like Xerces, JAXB, or JDOM for advanced features and convenience.

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

      @@RaghavPal thank u so much sir it's working fine , but it's showing the error called JAVA LEAKAGE ERROR sir , how to solve that sir , please tell me sir inside the KATALON STUDIO

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

      Before tackling the error, let's pinpoint its source. Here are some steps to diagnose the Java leakage issue in Katalon Studio:
      Check Logs: Analyze Katalon Studio logs for specific details about the "Java Leakage Error." Identify the object types involved and any related stack traces.
      Memory Monitoring: Utilize JVisualVM or VisualVM to monitor memory usage during test execution. Identify objects persistently occupying memory, causing a gradual increase.
      Code Review: Scrutinize your test scripts for potential resource leaks. Common culprits include unclosed network connections, databases, files, or streams.
      Third-Party Dependencies: Investigate potential memory leaks within installed Katalon Studio plugins or external libraries.
      esolving the Leakage:
      Once you identified the source, implement appropriate solutions:
      Implement Proper Closing: Ensure proper closing of resources like connections, databases, files, and streams using close() or shutdown() methods within your test scripts.
      Avoid Unnecessary Objects: Minimize object creation within loops or frequently executed sections. Consider reuse or object pooling strategies.
      Garbage Collection Tuning: Analyze and adjust JVM garbage collection parameters if necessary, but tread cautiously as inappropriate tuning can be counterproductive.
      Update Dependencies: Check for updated versions of Katalon Studio plugins or external libraries that might address known memory leaks.
      Consider Reducing Script Complexity: Complex scripts with extensive object interaction or manipulation can exacerbate the issue. Refactoring and simplification might be necessary.

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

    Best explanation ❤

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

    thank u, it helped me a lot...i was getting erros about it.

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

      Glad to know this Azide

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

    Very straight on point, thank you for the video

  • @learnunixshellscripting9561
    @learnunixshellscripting9561 4 роки тому +1

    Thank you for the clear explanation sir.

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

    Please keep up the awesome work!

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

    Brilliant video. Thanks Raghav!

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

      Most welcome

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

      @@RaghavPal helpfull in my lab programs ...thank you..keep sharing

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

    Thank you so much🙂 this is very useful lecture

  • @arek9430
    @arek9430 11 місяців тому

    Thanks for the whole playlist

    • @RaghavPal
      @RaghavPal  11 місяців тому

      You're welcome 😊

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

    great example, and easy for understanding the basics

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

    Thank you for this helpful explanation!

  • @purushottamkumar3140
    @purushottamkumar3140 4 роки тому

    Its Amazing. So nicely Explained

    • @RaghavPal
      @RaghavPal  4 роки тому

      Thanks and welcome Purushottam