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 Westi 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. edster86

    Replace Root Node

    Thanks, thats got rid of the 'generated' bit now which is good. The xmlns:od...... bit is still there though, my xsl code is: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:od="urn:schemas-microsoft-com:officedata" exclude-result-prefixes="od" >...
  2. edster86

    Replace Root Node

    Sorry i'm a bit confused!! I have the root: <eso:NMAReports generated="2007-10-28T11:51:19" xmlns:od="urn:schemas-microsoft-com:officedata" xmlns:eso="www.***.org/***schema"> currently generated from my xsl. What is the code i need to remove these extra elements of generated and xmlns:od?
  3. edster86

    Replace Root Node

    Will give that a go, really appreciate you time and help Thanks.
  4. edster86

    Replace Root Node

    Sorry about that, my fault - i was checking the wrong output file!! Thanks that works well. The only thing is that it has left some of the old root node namespace in the new one eg. <eso:NEWROOT generated="2007-10-28T11:51:19" xmlns:od="urn:schemas-microsoft-com:officedata"...
  5. edster86

    Replace Root Node

    Thanks for that, it nearly all worked perfectly. The out put now is: - <MYNEWROOTNODE> - <dataroot generated="2007-10-28T11:51:19" xmlns:od="urn:schemas-microsoft-com:officedata"> + <HTT:Inventory> </dataroot> </MYNEWROOTNODE> So the data root still seems to exist but is just moved...
  6. edster86

    Replace Root Node

    Hi, i'm a bit new to all this!! I have an xml export from MS access however it is written with a microsoft root node - how can i replace this with one that matches the schema? At the moment i've got: <?xml version="1.0"?> <xsl:stylesheet version="1.0"...

Part and Inventory Search

Back
Top