Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: saveXML? saveXML?To: NULL Date: 11/2/2004 12:29:00 PM Newsgroupies:
Gaze into my Perl:
my $dom = Win32::OLE->new('MSXML2.DOMDocument.4.0') or die "new() failed";
$dom->{async} = "False";
$dom->{validateOnParse} = "False";
$dom->{SelectionLanguage} = 'XPath';
$dom->Load("myFile.xml") or die "Parse failed";
my $case = $dom->selectSingleNode("/*[1]/*[3]");
my $attr = $case->attributes->getNamedItem("result_link");
$attr->{Text} = "data";
$dom->saveXML();
I can debug all of that and see the XML loading into MSXML2, and we seem to
be updating the value of one attribute. But the save doesn't work. The XML
file doesn't update.
--
Phlip
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
