XML Namespace tutorial for complete Beginners

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

КОМЕНТАРІ • 133

  • @chaoukikessouri4943
    @chaoukikessouri4943 10 місяців тому +2

    Love your videos sir, very short and direct, much respect.

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

      Glad you like them..

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

    Thks a lot sir
    Best XML tutorial😇😇

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

    I lost more than 2 hours of my life before I found this video

  • @ravirajsaraganachari3038
    @ravirajsaraganachari3038 3 роки тому +9

    Thank you for simple and clear explanation :)

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

      You are welcome Raviraj

  • @NiharThakkar
    @NiharThakkar 27 днів тому

    Thanks for the tutorial. Might have been useful to explain what the namespace URI is and how that is useful.

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

      You're right! Thanks for the suggestion Nihar

  • @vigneshbalan3007
    @vigneshbalan3007 4 роки тому +9

    Thank you👍great work... Looking for complete tutorial on XML

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

      Will upload soon Vignesh

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

      wrg, no nerx , ts just codex, cepitx, say any nmw

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

    Loved your video!! THANKS for posting. Watching the entire series.

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

      Awesome! Thank you Paul

  • @SurajKumar-qm4gj
    @SurajKumar-qm4gj 3 місяці тому +1

    Thanks for the nice and simple explanation ❤❤

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

      You're welcome Suraj

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

    Thank you very much. This video helps answer my confusion on the meaning of the prefix xmlns..
    Very helpfull

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

    This content is very helpful for me. Thank you very much!

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

    wonderful work . no other video starts for scratch .
    👍

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

    Thanks Raghav for ur video 👍,
    What's the use of uri in namespace, and what that uri locates ?

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

      Hi, The namespace URI is what allows us to identify uniquely the namespace stackoverflow.com/questions/18974378/what-does-namespace-uri-exactly-means

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

      @@RaghavPal Do we always need a live url for identification of the namespace? or is there some other way?

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

    Thankyou so much from the land of mountains,Nepal

  • @koushikthelukala9102
    @koushikthelukala9102 4 роки тому +5

    Hi,
    Thanks for the content.
    What is the use of the URI in the NameSpace?

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

      You can

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

      @@RaghavPal I have the same question. What is that URI for> Which server is that pointing to?

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

      Uniform resource identifier, it locates the resource where that particular operation can be executed using required parameters we give

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

      @@basavaraju1466 this doesn't really answer the question. What needs to exist at the URL provided?

  • @snehakhade9704
    @snehakhade9704 4 роки тому +5

    Hi Raghav, What are the valid values for URI? How to decide, values for URI?

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

      Hi Sneha, URI is the Uniform Resource Identifier, like URL for a web page, it is the locator of a resource on the server, So it has a fixed value for every resource and you should get it from your dev or product team

    • @snehakhade9704
      @snehakhade9704 4 роки тому +19

      @@RaghavPal Thanks Raghav for quick reply.
      But, if I am creating a XML for myself and I need to give a unique and valid URI for namespace and if there is no dev or product team. How to choose it?

  • @ohnewerbung9601
    @ohnewerbung9601 2 роки тому +4

    ok in This Video I neither did understand why I do it nor what I do in the end.
    where are the URL from? what URL should I use? I have no idea why there is a URL at all
    why cant I just use another element then Table? like funiturtable?

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

      Hi Ohne, sorry that it did not help you much, I hope you watch the earlier videos of this series, and that will help, can check here - automationstepbystep.com/

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

    Thank you for this very useful video!

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

    Clear explanation. Thanks.

  • @steevek
    @steevek 3 роки тому +8

    Please explain for what purpose of the URL is. Many thanks for this great series of videos.

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

      Hi Steven, pls tell me the exact time stamp to refer

    • @daniel.balandra
      @daniel.balandra 2 роки тому +3

      @@RaghavPal well many of the namespaces on your video are associated with URLs, but what i didn't understand is why would i associated an XML element to any URL?

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

      ​@@daniel.balandra seems he doesn't have answer 😅

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

      the URL used as a namespace identifier in XML is a convention to ensure global uniqueness and does not necessarily imply any direct web resource retrieval.

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

    You are the saviour

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

      Thanks a lot Jagadeesh

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

    oh my god this was so helpful! thanks so much for making this!

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

    Thank you, this will definitely halped me with tomorrow's exam, appreciate.

  • @AD-je9nq
    @AD-je9nq Рік тому +1

    Hello Raghav ! Excellent video with detailed explanation ! Request you to start a video on-"How to use xsi:type ="xsd:string"" in Soap request and response . Thank you so much ! OR do you already have a video done for that ?please let us know

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

    What is the purpose of adding the uri to the namespace? Documentation or does it validate something?

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

      url allows to identify the namespace uniquely

  • @divyajyotibasu3001
    @divyajyotibasu3001 3 роки тому +5

    Hi Raghav, brilliant explanation! Request you start a series on oracle osb 12c in detail. Theres hardly any good explanatory material available online for a beginner to understand osb and i think with your simple yet in-depth explanations can help many including me. regards!

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

      Noted, will plan Divyajyoti

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

    thanx ur the best ... ❤❤❤❤

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

    Super explanation sir 😇😇😇

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

    Hi Raghav, does it requires to learn HTML and CSS for automation testing?!

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

      No, it does not, but having knowledge of XML and JSON will help specially for API testing

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

      HTML is basic, you must learn HTML,
      atleast for 3 hours, make some basic web pages, do practice.
      you can learn it from you tube.
      Good luck.

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

    Another great video 👍Thx again.

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

    Really grateful 😍😍😍

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

    Your video very helpful

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

      Glad it was helpful Kanchanlata

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

    Brilliant video! I do have a question, I happen to run into a problem when trying to write back into an xml after i changed somethin. The default namespaces get written in properly, but there have been local namespaces, which were not defined above inside an element which dissapeared. Can i just add them to the default definition?

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

      Hi, It is possible to add local namespaces to the default definition in an XML document, but it depends on the specific structure and requirements of your XML document
      When you add a namespace to the default definition, it is applied to the entire document, including all elements and attributes
      This means that if you add a local namespace to the default definition, it will be applied to all elements and attributes in the document, even if they don't require it. This can lead to issues with validation and compatibility if the namespace is not used correctly
      A better approach would be to keep the local namespaces separate from the default namespaces, and define them only on the specific elements and attributes that require them. To do this, you can use the xmlns attribute to define the namespace on the specific element or attribute
      E.g.

      It's also important to note that if you change an xml file, it's always a good practice to validate the xml file with the appropriate schema before sharing or publishing it

  • @shanepereraedu
    @shanepereraedu 6 місяців тому

    Thank you! ❤

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

      Most welcome Shane

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

    Awesome! Thank you so much.

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

    Very well explained

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

      Glad it was helpful Karuna

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

    How do I add custom namespace uri and local part in soap response in java spring

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

      Hi Krupa, I will need to check on this

  • @Sidhu-n2
    @Sidhu-n2 Рік тому

    THANKYOU SIR.

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

    hi sir what is the URI that is used? does it have to point to an XSD?

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

      Hi Diego, what is the context here, pls point the time in the video so I can refer

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

    Thank you so much.

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

    thank you for this

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

    Thank you 🙏

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

    I don't get where the link or URI takes us to or what URI should we provide

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

      In XML (eXtensible Markup Language), a Uniform Resource Identifier (URI) or link is used to identify or locate resources. A URI can be a Uniform Resource Locator (URL) or a Uniform Resource Name (URN).

  • @priyar358
    @priyar358 9 місяців тому

    But how can we give the urls? Is there any criteria for this

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

      Priya
      When including URLs in XML documents, there are a few considerations to keep in mind. Let's explore how to handle URLs within XML:
      1. Plain URLs:
      You can directly include a URL within an XML element. For example:
      ```xml

      ¹(www.mysite.com/page?id=1)

      ```
      However, if your URL contains special characters (such as `&`, ``), you need to escape them properly. For instance:
      - `&` should be replaced with `&`
      - `` should be replaced with `>`
      2. CDATA Sections:
      To avoid escaping special characters, you can use CDATA (Character Data) sections. Text inside a CDATA section is ignored by the XML parser. Here's an example:
      ```xml



      ```
      In this case, the entire URL (including any special characters) is preserved as-is.
      3. XLink (XML Linking Language):
      If you want to create links within your XML document, you can use XLink. Here's a simple example:
      ```xml

      Visit W3Schools

      ```
      XLink allows you to define relationships between elements and external resources.
      Remember that the choice between plain URLs, CDATA sections, or XLink depends on your specific use case and requirements. Choose the approach that best suits your XML structure and content.

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

    what to write in URI of namespace?

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

      The namespace declaration has the following syntax. xmlns:prefix="URI".
      www.w3schools.com/xml/xml_namespaces.asp

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

    Best👍

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

      Thanks for watching..

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

    I can only understand till prefixes. I have many questions..
    1. Why would anyone combine a XML document(furniture) with a HTML document(Tables).
    2. Please anyone give me a real example. Added to this, how can we join a HTML document with XML documents!
    3. What is a real, physical meaning of namespace, do we have to provide namespace always while using prefixes?
    4. Why at the first place I would want to initialize my tag to "URI" using a namespaces. ?
    Please somebody answer this question....

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

      Hi, I will plan to check on these, Meanwhile if anyone can help, pls add your *Comment*

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

    thank you

  • @Ayush-mn8jz
    @Ayush-mn8jz 2 роки тому

    IRI or URL? 2:04

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

    what is the use of uri?

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

      Anuj
      URIs act like unique addresses for online resources, telling you where to find them and sometimes even describing them

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

    Awesome

  • @abc-gh5ol
    @abc-gh5ol 2 роки тому

    okey me vi todo el video algo entendi pero me falta ... , gracias por tu video

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

    Im highly confused on the addition of h: and f: 😢

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

      ok, will try to add more details

  • @kingking8407
    @kingking8407 13 днів тому

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

    w3school ?

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

      and several other resources, I tried to make it useful and understandable for beginners

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

    👍

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

    hey this one is from w3 school

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

      hope it helped, i studied diff resources including w3school

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

    You not provide the information where to use this language
    In your videos you teach the how write the language but what is Output you are not showing.?!

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

      Hi Adil, I created this playlist for people who work with XML like in API Testing etc, but need to know more about the basics. But I get your point, will add more videos

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

    gg

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

      let me know if you have any questions or msg

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

    No !
    you are not teaching from scrach.
    suddenly introducing new words and sentences.
    Please learn how to teach.
    Thanks.

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

      Hi Prakash, apologies for the issues you faced. I will take care of this, For this specific video, pls let me know the terms that needs more explanation, I will try to do a video or article on the same

  • @jksharma7
    @jksharma7 6 місяців тому

    Thank you sir well explained

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

    thank you

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

    Thank you

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

      Most welcome Abhishikt