http://www.ISAserver.org ------------------------------------------------------- Why would changing the name of the computer set have anything to do with it? t > -----Original Message----- > From: isalist-bounce@xxxxxxxxxxxxx [mailto:isalist- > bounce@xxxxxxxxxxxxx] On Behalf Of Jim Harrison > Sent: Tuesday, January 15, 2008 2:08 PM > To: isalist@xxxxxxxxxxxxx > Subject: [isalist] Re: Changing 2006 .xml to work with 2004 .xml > > http://www.ISAserver.org > ------------------------------------------------------- > > Correcting typos, but you get the idea... > > -----Original Message----- > From: isalist-bounce@xxxxxxxxxxxxx [mailto:isalist- > bounce@xxxxxxxxxxxxx] On Behalf Of Jim Harrison > Sent: Tuesday, January 15, 2008 1:55 PM > To: isalist@xxxxxxxxxxxxx > Subject: [isalist] Re: Changing 2006 .xml to work with 2004 .xml > > http://www.ISAserver.org > ------------------------------------------------------- > > Actually, it is. > Replace the XmlDomDocument2/ComputerSet node with the > XmlDomdocument1/ComputerSet node using the > XMLDomdocument.replaceChild(thisnode, thatnode) method. > > ..something like unto: > Set XMLDomDocument1 == <ISA 2006 ComputerSet Export file> > Set XMLDomDocument2 == <ISA 2004 ComputerSet Export file> > Set oThisCompSetNode = XmlDomDocument2.selectSingleNode( > "//fpcComputerset[@Name='NameOfOldComputerSet']" ) > Set oThatCompSetNode = XmlDomDocument1.selectSingleNode( > "//fpcComputerSet[@Name='NameOfNewComputerSet']" ) > Set oThisParent = oThisCompSetNode.parentNode > oThisParent.replaceChild( oThisCompSetNode, oThatCompSetNode ) > oXmlDomDocument2.save( "FullPathToNewXmlFile.xml" ) > > Easy, breezy, nice & peasy... > > -----Original Message----- > From: isalist-bounce@xxxxxxxxxxxxx [mailto:isalist- > bounce@xxxxxxxxxxxxx] On Behalf Of Thor (Hammer of God) > Sent: Tuesday, January 15, 2008 12:56 PM > To: isalist@xxxxxxxxxxxxx > Subject: [isalist] Re: Changing 2006 .xml to work with 2004 .xml > > http://www.ISAserver.org > ------------------------------------------------------- > > The problem's not XMLDom... I've been doing that for quite a while.. > It's that if you change the few tags in 2006 to match 2004, it won't > parse in 2004. > > Now, the real solution would be that the next 2004 update has a simple > schema update that will allow a 2004 box to import a set from a 2006 > box, but that's another story... > > I'm just checking to see if there was some magic in the CLSID structure > or not. > > But, at this point, it looks like if I want to create Computer Sets (my > country-by-country deal) that will work in 2004, that I have to > reinvent > the wheel under 2004 and export them rather than doing a simple > mass-update on the files. > > t > > > -----Original Message----- > > From: isalist-bounce@xxxxxxxxxxxxx [mailto:isalist- > > bounce@xxxxxxxxxxxxx] On Behalf Of Jim Harrison > > Sent: Tuesday, January 15, 2008 12:44 PM > > To: isalist@xxxxxxxxxxxxx > > Subject: [isalist] Re: Changing 2006 .xml to work with 2004 .xml > > > > http://www.ISAserver.org > > ------------------------------------------------------- > > > > Actually, yes, it might. > > How's your XMLDom scripting sk1llz? > > > > -----Original Message----- > > From: isalist-bounce@xxxxxxxxxxxxx [mailto:isalist- > > bounce@xxxxxxxxxxxxx] On Behalf Of Thor (Hammer of God) > > Sent: Tuesday, January 15, 2008 11:56 AM > > To: isalist@xxxxxxxxxxxxx > > Subject: [isalist] Changing 2006 .xml to work with 2004 .xml > > > > http://www.ISAserver.org > > ------------------------------------------------------- > > > > So, since Jim seems to be on line ;) > > > > I've been trying to take a 2006-based .xml file and change it to work > > with ISA 2004. Can this be done easily? Or are there "magic" tags > I'm > > not aware of that will never parse with 2004? I'm following the > advice > > of someone we all know and love (well, we all know him, anyway) but I > > don't want to waste any more time than necessary. > > > > Any input?? > > > > t > > ------------------------------------------------------ > > List Archives: //www.freelists.org/archives/isalist/ > > ISA Server Newsletter: http://www.isaserver.org/pages/newsletter.asp > > ISA Server Articles and Tutorials: > > http://www.isaserver.org/articles_tutorials/ > > ISA Server Blogs: http://blogs.isaserver.org/ > > ------------------------------------------------------ > > Visit TechGenix.com for more information about our other sites: > > http://www.techgenix.com > > ------------------------------------------------------ > > To unsubscribe visit http://www.isaserver.org/pages/isalist.asp > > Report abuse to listadmin@xxxxxxxxxxxxx > > > > > > ------------------------------------------------------ > > List Archives: //www.freelists.org/archives/isalist/ > > ISA Server Newsletter: http://www.isaserver.org/pages/newsletter.asp > > ISA Server Articles and Tutorials: > > http://www.isaserver.org/articles_tutorials/ > > ISA Server Blogs: http://blogs.isaserver.org/ > > ------------------------------------------------------ > > Visit TechGenix.com for more information about our other sites: > > http://www.techgenix.com > > ------------------------------------------------------ > > To unsubscribe visit http://www.isaserver.org/pages/isalist.asp > > Report abuse to listadmin@xxxxxxxxxxxxx > > ------------------------------------------------------ > List Archives: //www.freelists.org/archives/isalist/ > ISA Server Newsletter: http://www.isaserver.org/pages/newsletter.asp > ISA Server Articles and Tutorials: > http://www.isaserver.org/articles_tutorials/ > ISA Server Blogs: http://blogs.isaserver.org/ > ------------------------------------------------------ > Visit TechGenix.com for more information about our other sites: > http://www.techgenix.com > ------------------------------------------------------ > To unsubscribe visit http://www.isaserver.org/pages/isalist.asp > Report abuse to listadmin@xxxxxxxxxxxxx > > > ------------------------------------------------------ > List Archives: //www.freelists.org/archives/isalist/ > ISA Server Newsletter: http://www.isaserver.org/pages/newsletter.asp > ISA Server Articles and Tutorials: > http://www.isaserver.org/articles_tutorials/ > ISA Server Blogs: http://blogs.isaserver.org/ > ------------------------------------------------------ > Visit TechGenix.com for more information about our other sites: > http://www.techgenix.com > ------------------------------------------------------ > To unsubscribe visit http://www.isaserver.org/pages/isalist.asp > Report abuse to listadmin@xxxxxxxxxxxxx > > > ------------------------------------------------------ > List Archives: //www.freelists.org/archives/isalist/ > ISA Server Newsletter: http://www.isaserver.org/pages/newsletter.asp > ISA Server Articles and Tutorials: > http://www.isaserver.org/articles_tutorials/ > ISA Server Blogs: http://blogs.isaserver.org/ > ------------------------------------------------------ > Visit TechGenix.com for more information about our other sites: > http://www.techgenix.com > ------------------------------------------------------ > To unsubscribe visit http://www.isaserver.org/pages/isalist.asp > Report abuse to listadmin@xxxxxxxxxxxxx ------------------------------------------------------ List Archives: //www.freelists.org/archives/isalist/ ISA Server Newsletter: http://www.isaserver.org/pages/newsletter.asp ISA Server Articles and Tutorials: http://www.isaserver.org/articles_tutorials/ ISA Server Blogs: http://blogs.isaserver.org/ ------------------------------------------------------ Visit TechGenix.com for more information about our other sites: http://www.techgenix.com ------------------------------------------------------ To unsubscribe visit http://www.isaserver.org/pages/isalist.asp Report abuse to listadmin@xxxxxxxxxxxxx