|
Property "For Whitespace in Dynamic Value" <wsidv> |
|
|
If the value property of a text element is defined to be dynamic using a $vof() macro, for example $vof(Description), and the XML Node "Description" contains spaces and new line characters, these are eliminated by the HTML parser and the formatting of the text on the page may not be as expected. Example:
As you expect the text in the XML node is formatted on the page as above, you will get the following.
To avoid this, you can assign a value to this property and force the Application Studio to employ special XSL templates to preserve the white spaces existing in the XML node that the value bind to. Valid Options: 1. Build Space Chars Use this option to convert the spaces existing in the XML to   to avoid their elimination by the parser. 2. Build Break Tags and Space Chars Use this option to convert the spaces to   and the new line characters to <br> tags. |