Customer Portal

Dynamic Metadata - space delimiter

Comments 3

  • Avatar
    dpavlis
    0
    Comment actions Permalink
    We will investigate this, nonetheless you may try to use Unicode/XML escape/numeric code for "space" - which is 32 decimal.
    The escape sequence has form: &#nnnn; where "nnnn" is decimal code of the character.
  • Avatar
    mvarecha
    0
    Comment actions Permalink
    Hello,
    XML_XPATH_READER trims white spaces from text by default.
    Set "trim" attribute in your mapping to switch it off.
    Like this:

    <Mapping xpath="replace(text(),'SPACE', ' ')" cloverField="fieldDelimiter" trim="false" />

    ------------------
    Martin Varecha
    Javlin, a.s.
    martin.varecha@javlin.eu
  • Avatar
    schabluk
    0
    Comment actions Permalink
    Hi!
    Thank you for an answer. It works as a combination of no trim and escape charakter, plus i had to replece NL char which was given with trim=false option.



    <Mapping xpath="replace(replace(text(),'SPACE', '& #32;'), '& #10;', '')" cloverField="fieldDelimiter" trim="false"/>


    Best regards

Please sign in to leave a comment.