Heroman
Feb 1st, '05, 07:04 AM
Hello,
I was wondering, is there a 'tag only' replace mechanism?
I basically am looking for a mechanism to only replace the contents of the tag values, not the entire export template. This would allow me to manipulate/remove tag data while keeping the rest of the template file unaltered.
This would also allow me to enter output neutral visual enhancers and have the template replace the contents appropriately.
In example, if I wanted to use [ b ] and [ /b ] for bold delimiting I could set up a replace to handle it (converting to the proper code depending on which export type it is), coverting any tag values which contain it, but do not want the replace to occur on any other non-tag value part of the export template.
a different snippit....
<table style="width: 100%; text-align: left;" border="1" cellpadding="2" cellspacing="0">
<tbody>
<tr>
<td style="vertical-align: top;"><!--RUNNING_PRIMARY--></td>
<td style="vertical-align: top; font-family: arial;"> " </td>
</tr>
</tbody>
</table>
In this example, I want to add a replace to convert a double quote to nothing (which will result in stripping it out of the running total). I don't, however, want to strip out the double quote in the second cell or for that matter the double quotes in any of the HTML tags.
Can this be done?
If not now or not easily, could it be a wish item for v3?
I was wondering, is there a 'tag only' replace mechanism?
I basically am looking for a mechanism to only replace the contents of the tag values, not the entire export template. This would allow me to manipulate/remove tag data while keeping the rest of the template file unaltered.
This would also allow me to enter output neutral visual enhancers and have the template replace the contents appropriately.
In example, if I wanted to use [ b ] and [ /b ] for bold delimiting I could set up a replace to handle it (converting to the proper code depending on which export type it is), coverting any tag values which contain it, but do not want the replace to occur on any other non-tag value part of the export template.
a different snippit....
<table style="width: 100%; text-align: left;" border="1" cellpadding="2" cellspacing="0">
<tbody>
<tr>
<td style="vertical-align: top;"><!--RUNNING_PRIMARY--></td>
<td style="vertical-align: top; font-family: arial;"> " </td>
</tr>
</tbody>
</table>
In this example, I want to add a replace to convert a double quote to nothing (which will result in stripping it out of the running total). I don't, however, want to strip out the double quote in the second cell or for that matter the double quotes in any of the HTML tags.
Can this be done?
If not now or not easily, could it be a wish item for v3?