Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. webstudyer

    How to convert XML attribute to the node

    tsuji, Is it possible you can show me how to make a recursive call ? I could not figure it out for 2 weeks. I am newbie in this field. Thanks! Nyan
  2. webstudyer

    How to convert XML attribute to the node

    Thanks Jon. It works.
  3. webstudyer

    How to convert XML attribute to the node

    tsuji: Sorry for my unclear guide. I modified my oldxml.xml, let it more clearer. oldxml.xml <ResultSet> <data_service> <Employeeprofile> <row emp_name="one" org_cd="73700" rpt_to_org_cd="11111" lev="2" /> <row emp_name="four" org_cd="73656" rpt_to_org_cd="73700" lev="3" />...
  4. webstudyer

    How to convert XML attribute to the node

    Hi tsuji <branch id="three"> <branchtext>three</branchtext> </branch> should put on the up level(because of lev="2" ), here is the correct xml <ResultSet> <branch id="one"> <branchtext>one</branchtext> <leaf> <leafText>four</leafText> </leaf>...
  5. webstudyer

    How to convert XML attribute to the node

    The problem resolved. "out" has to be defined like this Dim out Set out = Server.CreateObject("Microsoft.XMLDOM") out.async = false out.loadXML objxml.transformNode(objxsl) out.save ("newxml.xml")
  6. webstudyer

    How to convert XML attribute to the node

    Thanks tsuji! Here is my asp code: dim xslinputPath1 'which the code you posted xslinputPath1 = "convert.xsl" set objxsl = Server.CreateObject("Msxml2.FreeThreadedDOMDocument") objxsl.async = false objxsl.resolveExternals = false objxsl.validateOnParse = false objxsl.load xslinputPath1...
  7. webstudyer

    How to convert XML attribute to the node

    I have an xml file like oldxml.xml <ResultSet> <data_service> <Employeeprofile> <row emp_name="one" org_cd="73700" rpt_to_org_cd="11111" lev="2" /> <row emp_name="four" org_cd="73656" rpt_to_org_cd="73700" lev="3" /> <row emp_name="five" org_cd="75425" rpt_to_org_cd="73700"...

Part and Inventory Search

Back
Top