xml - greater than symbol works but less than not in xslt -


i have datapower http based mpg service. getting response soap message backend has size element values ex:

<size><10000</size> <size>10000></size> 

it showing correctly in datapower probe. when comes soapui lessthan symbol not showing correctly.showing below:

<size>&lt;10000</size> <size>10000></size> 

how '<' less symbol correctly?

thanks in advance.

the follow symbols in xml: <, >, ",',& replaced &lt;,&gt;,&quot;,&apos;,&amp; respectively. in xml text avoid errors it's recommended replace all, < , & must replaced times (as @michael.hor257k comments). alternatively avoid replacement it's possible to use cdata).

probably datapower "prettify" response before shows (here i'm guessing since don't know datapower).

soapui doesn't perform transformation in response , showing response is, why see &lt; character; due web server replace < avoid generate invalid xml response.

here can see response explaining general rules characters in xml depends on are.


Comments

Popular posts from this blog

How to use SUM() in MySQL for calculated values -

loops - Spock: How to use test data with @Stepwise -