Home Forums Programming XML How to add attribute from Parent element to child element's attribute using visual studio designer RE: How to add attribute from Parent element to child element's attribute using visual studio designer

  • Lutz,

    Element "DB" has attributes 'MNM','INM' and 'DBNM'. How do you make these as global attributes.

    And "DB" element has its child element 'SOB,TBL,VW,CNST,etc..' I need all the child element should have the global attributes. How do you refer this.

    So the child element SOB has additional 3 attributes like this 'OB,CNT,MNM,INM and DBNM'.

    Likewise TBL has addtional 3 attributes along with TBL_Id,NM,OID,OWN,CDT,DB_Id.

    I can easily import all the TBL attribute to table called 'xml_tbl'.

    Please let me know if you have any question.

    Thanks,

    Balaji L