XML Editing seems not to work

Got a problem you cannot solve? Try here.
Weatherlights
Posts: 31
Joined: Mon May 16, 2016 5:00 pm
Contact:

XML Editing seems not to work

Postby Weatherlights » Fri Sep 16, 2016 9:12 am

I have a very simple XML-File in the form of:

Code: Select all

<a>
<b>Text</b>
<c>Text</c>
</a>


I want to update what is inside those b and c nodes. My XML Command looks like the image I attached to this thread.

I am totally lost it seems to do nothing. I tested some variations and looked at other samples but i am unable to get it to work. It is either not very intuitiv or it is broken (at least on my machine)
Attachments
iabuggy.png
iabuggy.png (13.68 KiB) Viewed 6114 times

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: XML Editing seems not to work

Postby FrancescoT » Fri Sep 16, 2016 11:03 am

Dear Weatherlights,

the command works fine ... supposing you are using a well formatted XML file and that such file, it's effectively available when "Edit XML File" gets called.

See attached project.

Hope this helps you.

Regards
Attachments
XmlTest.rar
(1.73 MiB) Downloaded 317 times
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Weatherlights
Posts: 31
Joined: Mon May 16, 2016 5:00 pm
Contact:

Re: XML Editing seems not to work

Postby Weatherlights » Sun Sep 18, 2016 5:56 am

hey

yea solved it... my mistake was more a little bit fundamental. I thought all the Write-registry queries etc. would be applied instantly but it seems like I need to wait until Apply-install was executed. my mistake.

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: XML Editing seems not to work

Postby bokkie » Sun Sep 18, 2016 11:02 am

If you want instant gratification you can set the native engine mode variable to true. That'll ensure it gets executed immediately when it's encountered. Unless you've changed the IDE colours you can see what gets deferred to the apply install; that is, deferred statements are coloured purple. There's a sticky describing the process.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 39 guests