Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Text block substitution during build
Text block substitution during build [message #1244896] Thu, 13 February 2014 02:33
Paul Ericson is currently offline Paul EricsonFriend
Messages: 4
Registered: January 2014
Junior Member
I've got an XML and HTML file pair that needs to be merged into a 3rd XML file.

The original XML has a line like this:

<blah:formProperty id="_formGenerationTemplate" default="%HTMLFORM%" type="string"/>

The HTML file looks like this:
 #processDetails fieldset {
 margin-top: 0;
 #processDetails .group-field {
 float: left !important;
 width: 100%;
 #processDetails .field label {
 text-align: left;
 #processDetails .field input,#processDetails .field select {
 clear: both;
 #processDetails .field .validation-message {
 clear: none !important;
 margin-left: 20px !important;
 float: left !important;

I need to replace %HTMLFORM% in the XML file with the escaped HTML above and dump it all in a 3rd XML file.

What is the best way to do this?

I assume I have to create a new builder?

The only way I know to do this is via a shell script invoked by the new builder. But I would hope there is a better way to do this.
Previous Topic:Custom View Filter
Next Topic:Compare function like in WinMerge
Goto Forum:

Current Time: Wed Oct 21 19:05:04 GMT 2020

Powered by FUDForum. Page generated in 0.03408 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top