Page 1 of 1

XML Editing seems not to work

Posted: Fri Sep 16, 2016 9:12 am
by Weatherlights
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)

Re: XML Editing seems not to work

Posted: Fri Sep 16, 2016 11:03 am
by FrancescoT
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

Re: XML Editing seems not to work

Posted: Sun Sep 18, 2016 5:56 am
by Weatherlights
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.

Re: XML Editing seems not to work

Posted: Sun Sep 18, 2016 11:02 am
by bokkie
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.