How can I create new XML tags in an XML file and check whether a tag (or attribute) already exists ?

asked 15 Jan '13, 10:55

Neo%20Cortex's gravatar image

Neo Cortex
141242630
accept rate: 0%

I too have a requirement to modify a xml file through installer. Is this not possible in BitRock?

(07 Oct '13, 06:01) SuryaSingh

You could use the XML file manipulation actions <xmlFileSet> and <xmlFileGet>. In addition, you could use regular expressions to manipulate the file (<readFile> + <setInstallerVariableFromRegEx> + <writeFile>). You can find additional information in this link:

link

answered 07 Oct '13, 06:13

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×20
×2

Asked: 15 Jan '13, 10:55

Seen: 1,568 times

Last updated: 07 Oct '13, 06:13