Muwak
January 16th, 2017, 10:44
Hey folks,
i'm trying to do a small modification in a Ruleset by using an extension. The only purpose is changing a single Tag within a file but without cloning and replacing the whole content (which i don't have access to), but i know which tag to replace. The problem is: the tag is nested in some others and i don't want to replace the content of the rest
SO e.g. i have the following code:
<base>
<tag_with_mixed_content>
<content_to_keep>
Some Content here
</content_to_keep>
<CONTENT_TO REPLACE>
</CONTENT_TO REPLACE>
</tag_with_mixed_content>
</base>
Is there any way to to this via an extension WITHOUT knowing the exact content of <tag_with_mixed_content>?
Thanks for your help
i'm trying to do a small modification in a Ruleset by using an extension. The only purpose is changing a single Tag within a file but without cloning and replacing the whole content (which i don't have access to), but i know which tag to replace. The problem is: the tag is nested in some others and i don't want to replace the content of the rest
SO e.g. i have the following code:
<base>
<tag_with_mixed_content>
<content_to_keep>
Some Content here
</content_to_keep>
<CONTENT_TO REPLACE>
</CONTENT_TO REPLACE>
</tag_with_mixed_content>
</base>
Is there any way to to this via an extension WITHOUT knowing the exact content of <tag_with_mixed_content>?
Thanks for your help