You are not logged in.
Pages: 1
This rule will remove any excess characters from a string.
Example:
Text = “This string should end here (), but it keeps going.”
We want to cut the text when it gets to this point "()"
<sxi:Field name="//*[local-name()=’Text’]">
<sxi:Rules>
<sxi:Length>30<sxi:Length>
</sxi:Rules>
<sxi:OutputField>Text</sxi:OutputField>
</sxi:Field>
After using the above config "Text" will now look as follows:
Text = “This string should end here ()”
Attributes:
removeElements:
If this attribute is set to yes and the value of the sting is over the given length the entire string will be removed.
Last edited by MarekR (15-03-2019 12:56:59)
Offline
Pages: 1