Is it possible to set in the XMLToJSON policy a variable in the option StripLevels? I receive the following error "Schema validation failed. Cause : Not a number:" when i use the following configuration:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <XMLToJSON async="false" continueOnError="false" enabled="true" name="XML2JSON"> <DisplayName>XML2JSON</DisplayName> <Properties/> <OutputVariable>request.content</OutputVariable> <Source>request.content</Source> <Options> <RecognizeNumber>true</RecognizeNumber> <RecognizeBoolean>true</RecognizeBoolean> <RecognizeNull>true</RecognizeNull> <NullValue>NULL</NullValue> <StripLevels>(CEVars.xmlstripe)</StripLevels> </Options> </XMLToJSON>
The value 1 is set in the variable "CEVars.xmlstripe".
Could you please try the below one and see if it works.
<StripLevels>{CEVars.xmlstripe}</StripLevels>
This does not work either. It is the same error message.
Please look at the Screenshot var-1.png
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |