XML Schema (XSD) Beginner Tutorial with Demo

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024
  • website - automationstep...
    What is XML Schema or XSD
    How to create XML Schema
    How to validate XML against Schema
    XML Schema or XSD (XML Schema Definition)
    XML Schema describes the structure of an XML document
    is written in XML
    References
    Files used in demo - drive.google.c...
    XML Formatter - www.freeformat...
    XML Schema Generator - www.freeformat...
    XML Schema Validator - www.liquid-tec...
    extendsclass.c...
    Join Automation Step By Step channel: www.youtube.co...
    My Udemy Courses - automationstep...
    Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you
    You can support my mission for education by sharing this knowledge and helping as many people as you can
    If my work has helped you, consider helping any animal near you, in any way you can.
    _______ ONLINE COURSES TO LEARN _______
    automationstep...
    GitHub - github.com/Rag...
    Udemy - www.udemy.com/...
    Training by Raghav at your venue - raghav.qna@gmail.com
    Training schedule - automationstep...
    ----------- UI TESTING -----------
    Selenium Beginners - bit.ly/2MGRS8K
    Selenium Java Framework from Scratch - bit.ly/2N9xvR6
    Selenium Python - bit.ly/2oyMp5x
    Selenium Tips - bit.ly/2owxc50
    Selenium Builder - bit.ly/2MKNtlq
    Katalon Studio - bit.ly/2wARFdi
    Robot Framework with RIDE- bit.ly/2Px6Ue9
    Robot Framework with Eclipse - bit.ly/2N8DZxb
    Protractor - bit.ly/2KtqVkU
    TestProject - bit.ly/2DRNJYE
    ----------- API TESTING -----------
    Web Services (API) - bit.ly/2MGafL7
    SoapUI - bit.ly/2MGahmd
    Postman - bit.ly/2wz8LrW
    General - bit.ly/2PYdwmV
    Katalon Studio API Testing - bit.ly/2BwuCTN
    ----------- MOBILE TESTING -----------
    Appium - bit.ly/2ZHFSGX
    Mobile Playlist - bit.ly/2PxpeUv
    ----------- CI | CD | DEVOPS -----------
    Jenkins Beginner - bit.ly/2MIn8EC
    Jenkins Tips & Trick - bit.ly/2LRt6xC
    Docker - bit.ly/2MInnzx
    Kubernetes - bit.ly/2MJIlMK
    ------------VIRTUALISATION------------
    Virtualization on windows - bit.ly/2SItIL9
    ----------- VERSION CONTROL SYSTEM -----------
    Git & GitHub - bit.ly/2Q1pagY
    GitLab - bit.ly/2kQPGyQ
    ----------- PERFORMANCE TESTING -----------
    JMeter Beginner - bit.ly/2oBbtIU
    JMeter Intermediate - bit.ly/2oziNVB
    JMeter Advanced - bit.ly/2Q22Y6a
    JMeter Tips & Tricks - bit.ly/2NOfWD2
    Performance Testing - bit.ly/2wEXbLS
    ----------- PROGRAMMING -----------
    Java Beginners - bit.ly/2PVUcXs
    Java Tips & Tricks - bit.ly/2CdcDnJ
    GROOVY - bit.ly/2FvWV5C
    JAVASCRIPT - bit.ly/2KJDZ8o
    PYTHON - bit.ly/2Z4iRye
    ----------- IDE -----------
    Visual Studio Code - bit.ly/2V15yvt
    ----------- BUILD TOOLS -----------
    Maven - bit.ly/2NJdDRS
    Gradle - bit.ly/30l3h1B
    ----------- OTHERS -----------
    Redis- bit.ly/2N9jyCG
    Misc - bit.ly/2Q2q5xQ
    Tools & Tips - bit.ly/2oBfwoR
    QnA Friday- bit.ly/2NgwGpw
    Sunday Special - bit.ly/2wB23BO
    Ask Raghav - bit.ly/2CoJGWf
    Interviews - bit.ly/2NIPPxk
    All Playlists - bit.ly/2LSiezA
    ---------- Connect with Raghav -----------
    Website - automationstep...
    LifeCharger -
    Udemy Courses - www.udemy.com/...
    Facebook - / automationstepbystep
    Twitter - / learnwithraghav
    TH-cam - / automationstepbystep
    Never Stop Learning
    Raghav

ความคิดเห็น • 480

  • @rehabalsaadi7335
    @rehabalsaadi7335 2 ปีที่แล้ว +48

    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  2 ปีที่แล้ว +4

      So happy & humbled to see your message Rehab

    • @DiluculoOrtus
      @DiluculoOrtus 8 หลายเดือนก่อน

      This comment is hilarious

  • @gianluca_ruggieri
    @gianluca_ruggieri 3 ปีที่แล้ว +80

    Hi Raghav, I truly believe that TH-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  3 ปีที่แล้ว +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

  • @jonesmike53
    @jonesmike53 2 ปีที่แล้ว +13

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

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Most welcome

  • @cookinggardeningandpets1559
    @cookinggardeningandpets1559 3 ปีที่แล้ว +11

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

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Most welcome

  • @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

  • @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

  • @vlonac7733
    @vlonac7733 3 ปีที่แล้ว +7

    Exactly what I needed, thank You!

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว +1

      You're welcome!

  • @TheFallonCarrington
    @TheFallonCarrington 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

  • @bhawanabhatt4369
    @bhawanabhatt4369 2 ปีที่แล้ว +1

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

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว +1

      Most welcome Bhawana

  • @carlcody8911
    @carlcody8911 3 ปีที่แล้ว +3

    Thank You! Refreshingly precise explanation.

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      You are welcome Carl

  • @ChitoDP
    @ChitoDP 2 ปีที่แล้ว +3

    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!

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว +1

      Most welcome

  • @apurvabarot3418
    @apurvabarot3418 3 ปีที่แล้ว +3

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

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Most welcome Apurva

  • @shaguftanasir7289
    @shaguftanasir7289 ปีที่แล้ว +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  ปีที่แล้ว

      You're very welcome Shagufta

  • @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/

  • @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

  • @johncena-fx2ur
    @johncena-fx2ur 2 ปีที่แล้ว +1

    Amazing quality video

  • @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

  • @Quadropheniaspain
    @Quadropheniaspain 2 ปีที่แล้ว +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.

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      So happy to know

  • @spavankumarreddy8928
    @spavankumarreddy8928 3 ปีที่แล้ว

    How to create simple xml schema for an email which will contain from, to,cc,
    subject,body, attachmentlink,high priority,sent date time,format

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว +1

      Hi Pavan, will need to see some examples online

  • @hyukki
    @hyukki 2 ปีที่แล้ว

    Hi Raghav
    I like your video
    This may be a dumb question but why do we need XSD? Isn't XML enough? Thanks

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Hi, this can help stackoverflow.com/questions/3403644/what-is-the-purpose-of-xsd-files

  • @ankitshukla5800
    @ankitshukla5800 ปีที่แล้ว

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

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      I will try my best Ankit

  • @keithstern7777
    @keithstern7777 3 หลายเดือนก่อน

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

    • @RaghavPal
      @RaghavPal  3 หลายเดือนก่อน

      Most welcome Keith

  • @rahulmarathe7683
    @rahulmarathe7683 2 ปีที่แล้ว

    Hello Raghav, these 7 XML videos playlist covers entire topic of XML? Or any new video you are going to add in this?

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Hi Rahul, I created these to have a good basic understanding on XML and its structure. I may plan to add more in future

  • @markc915
    @markc915 8 หลายเดือนก่อน +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  8 หลายเดือนก่อน +1

      Thanks for the kind words Mark

  • @floresarriagamarianabelen3177
    @floresarriagamarianabelen3177 3 ปีที่แล้ว +1

    Amazing! I really could underestand! thanks

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Glad it helped Mariana

  • @saichandana9681
    @saichandana9681 3 ปีที่แล้ว

    Which data type we have to use for currency like $5.67 in XML schema

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Hi Sai, you can take any xml having this value and convert to schema and check

  • @santhoshs7028
    @santhoshs7028 2 ปีที่แล้ว +1

    This xml playlist was very useful sir
    Thank you

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว +1

      Most welcome Santhosh

  • @janumohan5786
    @janumohan5786 3 ปีที่แล้ว +1

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

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Thank you! Will do!

  • @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/

  • @5lyohmusiccollection
    @5lyohmusiccollection 15 วันที่ผ่านมา

    Hack tool please or application please

    • @RaghavPal
      @RaghavPal  13 วันที่ผ่านมา

      need more details

  • @infojr.2299
    @infojr.2299 2 ปีที่แล้ว +1

    Thank you King! Best tutorial ever!

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      You're welcome!

  • @Eva-kt3tu
    @Eva-kt3tu 3 หลายเดือนก่อน

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

    • @RaghavPal
      @RaghavPal  3 หลายเดือนก่อน

      Most welcome Eva

  • @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

  • @gitagavandi5424
    @gitagavandi5424 7 หลายเดือนก่อน +1

    Thanku sir...

    • @RaghavPal
      @RaghavPal  7 หลายเดือนก่อน

      Most welcome Gita

  • @jurgennagel2833
    @jurgennagel2833 3 ปีที่แล้ว

    Habe eine kurze Frage:
    ich habe eine xml Stewuerdatei geschrieben, funktioniert auch, es wird u.a. die IBAN Nr. angezeigt.
    Aus Datenschutzgründen möchte ich aber nur die ersten 4 zeichen, danach 16 X und am schluss die letzten 2 zeichen der IBAN anzeigen.
    Schreibweise ? Left(IBAN,4);"XXXXXXXXXXXXXXXX";right(IBAN,2) ?????

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Da bin ich mir nicht ganz sicher
      Jürgen muss Online-Hilfe in Anspruch nehmen

  • @vivekpunathil3145
    @vivekpunathil3145 7 หลายเดือนก่อน

    Thank you Sir . My sincere gratitude for this video❤

    • @RaghavPal
      @RaghavPal  7 หลายเดือนก่อน

      Glad it was helpful Vivek

  • @sarvasaravanan8487
    @sarvasaravanan8487 2 ปีที่แล้ว

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

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Thanks Sarva

  • @lhd7105
    @lhd7105 ปีที่แล้ว +1

    Thank you so much for this wonderfully succinct introduction to XML validation, I really appreciate it!!
    I am often in awe at new ways of teaching, especially strikeing examples of using teaching tools well, so I hope you don't mind that I noticed that you were able to, seemingly while live-streaming this video, draw oval-rectangle boxes whenever you like with your mouse cursor. I think that's brilliant!! Is this enabled by something like Camtasia or..? May I inquire how you invoke this insanely cool dark magic? :)
    Wish you all the best and stay safe, keep rocking hard and rocking on!! *hugs*

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว +1

      Great you liked it, It's mac annotation tools

  • @albertbeaulne9114
    @albertbeaulne9114 24 วันที่ผ่านมา

    do you provide conversion services such as XML to excel

    • @RaghavPal
      @RaghavPal  23 วันที่ผ่านมา

      No Albert

  • @Rashomon69
    @Rashomon69 2 ปีที่แล้ว +1

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

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Welcome aboard!

  • @uttarakhandtravel2130
    @uttarakhandtravel2130 2 ปีที่แล้ว

    have you worked with swagger schema?

  • @sitatexserver6147
    @sitatexserver6147 2 ปีที่แล้ว

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

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      You are very welcome

  • @georgetsiklauri
    @georgetsiklauri ปีที่แล้ว

    One thing you could've covered as well is - how to refer XSD from XML.. or just how some XML relates to some XSD.

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      Sure Giorgi, I will check on this, can you share some links to refer

    • @georgetsiklauri
      @georgetsiklauri ปีที่แล้ว

      @@RaghavPal what links..? I don't understand what you mean. I just suggested, that you could have also included the point - how to relate XSD to XML. I don't know what links should/shall I share..

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      Ok, I will check on this

  • @learnunixshellscripting9561
    @learnunixshellscripting9561 3 ปีที่แล้ว +1

    Thank you for the clear explanation sir.

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      You are welcome

  • @MrHanziboy
    @MrHanziboy 2 ปีที่แล้ว

    very clear explanation my friend, thank you

  • @nostrajara
    @nostrajara 2 ปีที่แล้ว

    thanks for the video... very clear and useful.

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      You are welcome Oscar

  • @hemanthkumarreddy7472
    @hemanthkumarreddy7472 2 ปีที่แล้ว

    What opaque schema. Xsddoes will it decode base 64 data ?

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      will need more details Hemanth

  • @kathrynmckenzie9229
    @kathrynmckenzie9229 2 ปีที่แล้ว

    Thank you for this helpful explanation!

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Most welcome Kathryn

  • @indranilgoswami1500
    @indranilgoswami1500 ปีที่แล้ว

    Thanks a lot Raghav.. Very well taught..

  • @yashshrivastava1404
    @yashshrivastava1404 9 หลายเดือนก่อน

    very clear explanation. want a tutorial on DTD also.

    • @RaghavPal
      @RaghavPal  9 หลายเดือนก่อน

      Thanks.. noted Yash

  • @ManjunathSampangi
    @ManjunathSampangi 3 ปีที่แล้ว +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  3 ปีที่แล้ว

      Glad it was helpful Manjunath

  • @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

  • @Koffieleuter
    @Koffieleuter 2 ปีที่แล้ว

    Thank you Raghav. Very clear explanation!

  • @lrpbro6945
    @lrpbro6945 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน +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 8 หลายเดือนก่อน

      @@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  8 หลายเดือนก่อน

      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.

  • @venig8954
    @venig8954 3 ปีที่แล้ว

    But you dint tell us what XML schema is? Y is it needed?

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Ok, will add another session for that Veni

  • @Anonymous_JM007
    @Anonymous_JM007 ปีที่แล้ว

    it was very information full

  • @jensharbers5620
    @jensharbers5620 3 ปีที่แล้ว

    Working with Latex pays off now

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      thanks for watching Jens

  • @arek9430
    @arek9430 7 หลายเดือนก่อน

    Thanks for the whole playlist

    • @RaghavPal
      @RaghavPal  7 หลายเดือนก่อน

      You're welcome 😊

  • @Campa-nit
    @Campa-nit 2 ปีที่แล้ว

    Thanks Raghav, you are a great teacher! I can't find this annywhere. What does this pattern restriction mean? Does it mean no spaces are allowed? Thanks

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Hi, Restriction element is used to define accepted values that an XML element can take. like in the above example it can only take STring values

    • @Campa-nit
      @Campa-nit 2 ปีที่แล้ว

      @@RaghavPal Thanks for your reply! For some reason the code did not paste correctly. These was a '[\S]+' in the restriction: . That is what I didn't understand

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว +1

      that is regex, if you need to learn more can read this - automationstepbystep.com/2020/05/05/a-story-of-regex/

    • @Campa-nit
      @Campa-nit 2 ปีที่แล้ว

      @@RaghavPal you're the best, thanks!!!

  • @millax-ev6yz
    @millax-ev6yz 11 หลายเดือนก่อน

    Hello, so I apologize if I am missing the point. It seems that the schema verifies the xml is organized properly and of the correct data types. Is there more? I'm curious how this is used, is there some software on a client that typically receives an xml file and does a check against the xsd and rejects or passes it? What then is done once xml passes the check? Do they convert it into an object?

    • @RaghavPal
      @RaghavPal  11 หลายเดือนก่อน +1

      Yes, XML schemas can be used to verify that XML is organized properly and of the correct data types. However, they can also be used to do more, such as:
      * Define constraints on the relationships between elements and attributes.
      * Define default values for elements and attributes.
      * Document the XML vocabulary.
      * Generate documentation for XML parsing and processing tools.
      * Generate code to parse and process XML.
      XML schemas are used in a variety of ways, including:
      * To ensure that XML data is exchanged correctly between different systems.
      * To validate XML data before it is processed.
      * To generate documentation for XML vocabularies.
      * To generate code to parse and process XML.
      When an XML file is received by a client, the client can use an XML parser to parse the file. The XML parser will check the XML file against the XML schema to verify that it is valid. If the XML file is valid, the client can then process the XML data.
      **Example:**
      A company might use an XML schema to define the format of purchase orders. The company would then send XML purchase orders to its suppliers. The suppliers would use an XML parser to parse the purchase orders and verify that they are valid. If the purchase orders are valid, the suppliers would then process the purchase orders.
      **Converting XML to an object:**
      Once an XML file has been parsed and validated, it can be converted to an object. This can be done using an XML processing tool, such as XSLT or JAXB.
      The object can then be used by the client application in a variety of ways, such as to:
      * Display the data to the user.
      * Store the data in a database.
      * Use the data to perform calculations.
      *Overall, XML schemas are a powerful tool for defining, validating, and processing XML data.*

    • @millax-ev6yz
      @millax-ev6yz 11 หลายเดือนก่อน +1

      @@RaghavPal ok great and thank you! Do you have other videos going into that expanded responsibility of schema? This one appears to just be types and limits. Thanks again

    • @RaghavPal
      @RaghavPal  11 หลายเดือนก่อน +1

      Can check all videos of this playlist here - automationstepbystep.com/

  • @wieslawhus2069
    @wieslawhus2069 10 หลายเดือนก่อน

    How to create C# classes from an XSD file? The xsd.exe program can't do it. Are there other preferably free tools?

    • @RaghavPal
      @RaghavPal  10 หลายเดือนก่อน

      There are several free tools available for generating C# classes from XSD files. Here are a couple of popular options:
      1. *xsd2code:* xsd2code is a free open-source tool that generates C# classes from XSD files. It provides a variety of options for customizing the generated code, including namespace, property naming conventions, and code generation templates.
      2. *Visual Studio Tools for XSD:* Visual Studio Tools for XSD is an extension for Visual Studio that provides integrated support for generating C# classes from XSD files. It offers a user-friendly interface and makes it easy to configure the code generation options.
      3. *XmlSerializer:* XmlSerializer is a built-in class in the .NET Framework that can be used to deserialize XML data into C# objects. Although it doesn't directly generate C# classes from XSD files, it can be used to create object representations of XML data based on an XSD schema.
      In addition to these free tools, there are also several commercial tools available that offer more advanced features and support for generating C# classes from complex XSD schemas.
      If you have simple XSD schemas and prefer a command-line tool, xsd2code is a good option. If you are using Visual Studio and prefer a graphical interface, Visual Studio Tools for XSD is a good choice. And if you want to use XmlSerializer to deserialize XML data, it's a free and well-supported option.

    • @wieslawhus2069
      @wieslawhus2069 10 หลายเดือนก่อน

      @@RaghavPal Thanks, but nothing works. Check it out if you have the desire and time. crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/

    • @RaghavPal
      @RaghavPal  10 หลายเดือนก่อน

      ok

  • @AlHoussem
    @AlHoussem 3 ปีที่แล้ว

    Good explanation, Thanks

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      You are welcome

  • @jaiylonbabb7548
    @jaiylonbabb7548 2 ปีที่แล้ว

    What if the age element had a child. How would that be written?

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Hi Jaiylon, just add the element and check in xsd tools

  • @sharikapathirana
    @sharikapathirana 2 ปีที่แล้ว

    Thank u This was a great support

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Most welcome Sharika

  • @pranaygopale5465
    @pranaygopale5465 3 ปีที่แล้ว

    Thank U ....It was so helpfull.!!!

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Most welcome Pranay

  • @FergayNoon
    @FergayNoon 6 หลายเดือนก่อน

    thankyou , great full

    • @RaghavPal
      @RaghavPal  6 หลายเดือนก่อน

      You're welcome

  • @jeanpaulnishimirwe2609
    @jeanpaulnishimirwe2609 2 ปีที่แล้ว

    Thank you, this was an intersting video

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Most welcome Jean

  • @RelaxingMusic-fj6ug
    @RelaxingMusic-fj6ug 6 วันที่ผ่านมา

    Great sessions brother😀

    • @RaghavPal
      @RaghavPal  6 วันที่ผ่านมา

      Thanks for the visit

  • @kirancrazy393
    @kirancrazy393 2 ปีที่แล้ว

    Crystal clear.. nice explanation

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Glad it was helpful!

  • @mohinpinjar3518
    @mohinpinjar3518 ปีที่แล้ว

    Does this video completes the playlist?

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      Yes Mohin, can also check more here - automationstepbystep.com/

  • @rohitkumar-nk6sd
    @rohitkumar-nk6sd ปีที่แล้ว

    Hi Raghav great tutorial i want to convert XML to XSD by hard coding.Can you let me know possible ways to achieve it with python.
    Thanks in advance

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      Hi Rohit
      Certainly! In Python, you can use the `xmlschema` library to generate an XSD (XML Schema Definition) from an XML document. Here's an example of how you can achieve this:
      1. Install the `xmlschema` library by running the following command:
      ```
      pip install xmlschema
      ```
      2. Write a Python script with the following code:
      ```python
      import xmlschema
      # Define the XML file path
      xml_file = 'path/to/your/xml/file.xml'
      # Load the XML file and generate the XSD
      schema = xmlschema.XMLSchema(xml_file)
      xsd_content = schema.tostring()
      # Save the XSD to a file
      xsd_file = 'path/to/save/xsd/file.xsd'
      with open(xsd_file, 'w') as file:
      file.write(xsd_content)
      ```
      Replace `'path/to/your/xml/file.xml'` with the actual path to your XML file and `'path/to/save/xsd/file.xsd'` with the desired path to save the generated XSD file.
      3. Run the Python script, and it will generate the XSD file based on the XML structure.
      This code utilizes the `xmlschema.XMLSchema` class to load the XML file and generate the XSD representation. The `tostring()` method is used to obtain the XSD content as a string, which can then be saved to a file.
      Make sure that your XML file follows a valid structure, as the generated XSD will reflect the structure defined in the XML.
      Note: Converting XML to XSD by hard coding is a challenging task since the XML may contain complex structures and data types that need to be accurately reflected in the XSD. It's recommended to review the generated XSD and make any necessary modifications or refinements based on your specific requirements.

    • @rohitkumar-nk6sd
      @rohitkumar-nk6sd ปีที่แล้ว

      @@RaghavPal Hi xmlschema.XMLSchema accepts XSD for validation it does not create XSD i have tried it

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      I will check this, Can try online help

    • @rohitkumar-nk6sd
      @rohitkumar-nk6sd ปีที่แล้ว

      @@RaghavPal Hi raghav i found a way you can create XSD by simple extension in vscode by redhat

  • @Ashanfx
    @Ashanfx 3 ปีที่แล้ว

    Hello thank you for the video it's very useful, can you please let me know how to import wsdl to xsd file ?

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      I will need to check on this

  • @knightysoul6818
    @knightysoul6818 5 วันที่ผ่านมา

    Thank you sir❤

    • @RaghavPal
      @RaghavPal  5 วันที่ผ่านมา

      Most welcome

  • @johanwalll
    @johanwalll 2 ปีที่แล้ว

    Great tutorial. Thanks!

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      You're welcome Johan

  • @nazeers5684
    @nazeers5684 3 หลายเดือนก่อน

    where the schema used in cloud

    • @RaghavPal
      @RaghavPal  3 หลายเดือนก่อน

      Nazeeer
      In a cloud environment, XML schemas can be used in various ways depending on the specific cloud service or platform being used. Here are some common use cases where XML schemas may be employed in a cloud setup:
      1. Data Exchange: XML schemas are often used for data exchange between cloud services and clients. For example, many APIs in cloud-based services use XML as a format for sending and receiving data. In this case, the XML schema defines the structure of the data being exchanged.
      2. Configuration: Cloud services often rely on configuration files to customize the behavior of different components. XML schemas can be used to define the structure and rules for these configuration files. For instance, in cloud infrastructure management tools, XML schemas can specify the format for configuration files that define virtual machines, networks, and other resources.
      3. Service Definitions: XML schemas can be used to define the structure of services in cloud environments. For example, in a platform-as-a-service (PaaS) offering, the service definition may be specified using XML schemas to describe the endpoints, input/output parameters, and other details of the service.
      4. Workflow Orchestration: Cloud-based workflow orchestration tools often use XML schemas to define the steps, conditions, and transitions in a workflow. The XML schema helps in ensuring that the workflow is executed correctly according to the defined structure.
      5. Logging and Monitoring: XML schemas can also be used for defining the format of log files and monitoring data in cloud environments. By using a standardized schema, it becomes easier to parse and analyze the logs and monitoring data generated by various cloud services.
      Overall, XML schemas play a crucial role in defining the structure and semantics of data and configurations in cloud-based systems. They ensure interoperability, consistency, and clarity in communication between different components and services in the cloud environment.
      --

  • @jaxparrow1794
    @jaxparrow1794 2 ปีที่แล้ว

    Excellent!
    Thank you!

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว +1

      Most welcome Nikola

  • @k2gh452
    @k2gh452 ปีที่แล้ว

    thx this helped me a lot but what about DTD ?

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      I will check and add on this

  • @ludgerhaming733
    @ludgerhaming733 4 หลายเดือนก่อน

    Greatfull explained !

    • @RaghavPal
      @RaghavPal  4 หลายเดือนก่อน

      Thanks a lot Ludger

  • @itsm3dud39
    @itsm3dud39 2 ปีที่แล้ว

    bro is this the last video of the course?

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Yes, can check all here automationstepbystep.com/

  • @aloysiusthomas6536
    @aloysiusthomas6536 10 หลายเดือนก่อน

    very helpfull and simple

    • @RaghavPal
      @RaghavPal  10 หลายเดือนก่อน

      Glad it helped Aloysius

  • @orwa475
    @orwa475 3 ปีที่แล้ว

    do i always need to put that first line ?

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Yes as per the syntax

  • @LanPham-os2ds
    @LanPham-os2ds 2 ปีที่แล้ว

    It has become much clearer to me. I have one question, why do we need to validate our XML file when XSD data is generated from the original XML file? Thank you so much.

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Hi Lan, here I have shown this for example that how an XSD file looks like, In general, you will have an XSD first and will have to create XML accordingly

  • @riccarrasquilla379
    @riccarrasquilla379 2 หลายเดือนก่อน

    thanks for the review

    • @RaghavPal
      @RaghavPal  2 หลายเดือนก่อน

      Most welcome

  • @Aayus.Karki10
    @Aayus.Karki10 29 วันที่ผ่านมา

    Thanks for such a 💎 ❤❤

    • @RaghavPal
      @RaghavPal  26 วันที่ผ่านมา +1

      Most welcome Aayus

  • @Mohamed-uf5jh
    @Mohamed-uf5jh ปีที่แล้ว

    A good short concept tanks !

  • @lukewaite9144
    @lukewaite9144 2 ปีที่แล้ว

    very helpful thank you

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Glad it was helpful!

  • @zakisalim8272
    @zakisalim8272 2 ปีที่แล้ว

    TY sir, that was so helpful

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว +1

      most welcome Zaki

  • @riendachiang
    @riendachiang 3 ปีที่แล้ว +1

    Thank you for the video shared, very clear!

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Glad it was helpful Yulu

  • @prakash1217
    @prakash1217 2 ปีที่แล้ว

    Very good explanation

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Thanks Prakash

  • @keithswan9834
    @keithswan9834 ปีที่แล้ว

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

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      Most welcome Keith

  • @wenlinchen3599
    @wenlinchen3599 ปีที่แล้ว

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

  • @HariKrishna-r2b
    @HariKrishna-r2b 11 หลายเดือนก่อน

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

    • @RaghavPal
      @RaghavPal  11 หลายเดือนก่อน +1

      So nice of you Hari

  • @obiyefidelis1404
    @obiyefidelis1404 หลายเดือนก่อน

    great video. good job

    • @RaghavPal
      @RaghavPal  หลายเดือนก่อน

      Thank you Obiye

  • @ramdas-dh2bl
    @ramdas-dh2bl 4 หลายเดือนก่อน

    Where to know the syntax like Maxoccur etc

    • @RaghavPal
      @RaghavPal  4 หลายเดือนก่อน

      Ram,
      Ideally it will be given to you. For testing we can try with our own schema and test

    • @ramdas-dh2bl
      @ramdas-dh2bl 4 หลายเดือนก่อน

      @@RaghavPal thank you,your videos are really helpful👍

  • @KrishnaGupta-yc3jd
    @KrishnaGupta-yc3jd 2 ปีที่แล้ว

    Do you have other tutorials too regarding xml schema? Highly thankful for such wonderful video

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Hi Krishna, can check here - automationstepbystep.com/

  • @jagadeeshp1163
    @jagadeeshp1163 18 วันที่ผ่านมา

    Best Ever ForEver

    • @RaghavPal
      @RaghavPal  18 วันที่ผ่านมา

      Glad it was helpful

  • @ramehharmouch5300
    @ramehharmouch5300 3 ปีที่แล้ว

    Hello, I want to ask you, if i have an excel file mapped to an xml map. When i save the file as xml, the empty cells of the excel are not created in the xml file. So, how can i edit the xml to create empty xml tags for the empty elements in the excel file?
    Thank you in advenced.

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว +1

      I will need to check on that Ramesh

    • @ramehharmouch5300
      @ramehharmouch5300 3 ปีที่แล้ว

      @@RaghavPal please can you check it, and give me a solution?

    • @ramehharmouch5300
      @ramehharmouch5300 3 ปีที่แล้ว

      @@RaghavPal Please if you can check the possibility of empty tags without ctrl+f to replace the empty with space?
      Since, if i replace the empty with ' it will show as
      Which is wrong. Since i need it for examplw '

    • @ramehharmouch5300
      @ramehharmouch5300 3 ปีที่แล้ว

      Thank you

  • @ilonaochudlo4547
    @ilonaochudlo4547 6 หลายเดือนก่อน

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

    • @RaghavPal
      @RaghavPal  6 หลายเดือนก่อน

      You're very welcome Ilona

  • @Flowerhorn1108
    @Flowerhorn1108 3 ปีที่แล้ว +1

    thank you !

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว +1

      You're welcome Chin

  • @rarogcmex
    @rarogcmex ปีที่แล้ว

    Hello from Russia! Thank you for gentle introduction.