getTextContent returning text in oxy_delete processing instructions
Posted: Mon Jan 14, 2013 5:49 pm
As part of an operation we get the text from a node to perform a Search on our document repository so the user can mark up a link. The problem we are having is that we are now using track changes to hold the content the user is deleting so we can easily review the changes. When we use the AuthorNode.getTextContent() the content that has been deleted (shown below) is being used as part of the search.
Is there a different call to only get the displayable content that would ignore the oxy_delete? Or do we have to build the content ourselves by getting a list of nodes and filtering out the ones we aren't interested in.
Code: Select all
<link type="publication" uuid="xxx">
<?oxy_delete author="neon096" timestamp="20130114T134637+0000" content="Enter link title"?>
<?oxy_insert_start author="neon096" timestamp="20130114T134637+0000"?>Dangerous Dogs<?oxy_insert_end?> </link>