Python Tutorial | Create XML file using python | python xml examples

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 18

  • @harshavardhanreddy3607
    @harshavardhanreddy3607 4 года назад +2

    Very good explanation 👍

    • @Training2SQLMSBI
      @Training2SQLMSBI  4 года назад

      Thanks for your feedback .. appreciate your time..

  • @jamesedison5460
    @jamesedison5460 4 года назад +4

    i have one doubt in that xml file you have mentioned type = business but while creating file you didnt create that part ca u explain how i can create that

    • @SinanNoureddine
      @SinanNoureddine 4 года назад +1

      use the .set function to do that
      example code:
      type1.text = "UK"
      type1.set("type", "Business")
      This will give you = UK

  • @RightlyFree
    @RightlyFree 4 года назад +1

    Simple in the same time comprehensive and useful, thank you very much

    • @Training2SQLMSBI
      @Training2SQLMSBI  4 года назад

      Thanks for your feedback .. appreciate your time..

  • @himanshugehlot8866
    @himanshugehlot8866 Год назад

    thank you for the video, i have doubt that you formatted the XML from the UI , how can we get it formatted or in tree structure when we run from script.
    and secondly u added only one structure manually how about having 100K child data and getting it done using loop or how to append under root tag.

  • @dikshapareta8054
    @dikshapareta8054 4 года назад

    Hi.. i need to make an excel file from xml file in which all the attributes of xml should comes as per the column vias and there is also cells info so i need to show cells as row wise in one column

  • @shashwatpandey3556
    @shashwatpandey3556 3 года назад

    great tutorial... BTW I just have one question, suppose I run the script once it creates the xml file, if I run the script again with some changes in the hard coded data, it then updates the existing xml file, what I want to do is to add another child element named as "customer" with the changed data... how can I do this?

  • @jamesedison5460
    @jamesedison5460 4 года назад

    can you explain how we can create two child tag at a same time

  • @shivagoud3611
    @shivagoud3611 3 года назад

    How to add data for in existing xml

  • @circuitdesigner7489
    @circuitdesigner7489 3 года назад

    Can we use loop to create multiple tags

  • @naviyad
    @naviyad 3 года назад

    I tried this but it does not work. "if _name_=='_main_':
    NameError: name '_name_' is not defined"
    WHAT DID I DO WRONG?

  • @basalduat
    @basalduat Год назад +1

    Talks too fast. And Too many Ads. Good Luck!

  • @karthiks-eh2zi
    @karthiks-eh2zi 3 года назад

    Sir, for your XML data example : if I want to know customer type and place who has amount = 2500 .
    How it should be done ?