Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   replacing sections in XML (https://www.kinook.com/Forum/showthread.php?t=427)

VBuild_Rookie 05-07-2004 12:18 PM

replacing sections in XML
 
I want to be able to replace sections of the XML file using visual build. Is this possible I have no clue on how to do this but I just need to change sections of config files (.NET) for diff enviroments









WITH







kinook 05-07-2004 02:35 PM

1 Attachment(s)
The attached sample uses MSXML to do this.

jcox 06-21-2004 01:00 PM

Can we parse the values out into Temp Macros?

kinook 06-21-2004 06:10 PM

This sample demonstrates writing to an XML file, not reading. If you want to provide values to be written from temporary macros, just replace the strings with macro references, for instance:

UpdateAttribute msxml, "DatasourceConnection", "%MY_MACRO_NAME%"

As far as parsing values out of an XML file into temporary macros, this sample demonstrates that: http://www.kinook.com/Forum/showthread.php?threadid=237


All times are GMT -5. The time now is 06:23 AM.


Copyright © 1999-2023 Kinook Software, Inc.