开发者

How to check the less than condition in compiled queries of java?

开发者 https://www.devze.com 2023-02-03 09:30 出处:网络
In mysql we can check the less than condition by using \'>\' symbol but in XML files in java, how can I check that condition when we are writing query? Please suggest me.开发者_JAVA技巧 Its very helpf

In mysql we can check the less than condition by using '>' symbol but in XML files in java, how can I check that condition when we are writing query? Please suggest me.开发者_JAVA技巧 Its very helpful

Thanks, Vara Kumar PJD


How about escaping the character with

>

?


Have you tried the CDATA tag?

<![CDATA[literals]]>

`All text in an XML document will be parsed by the parser.

But text inside a CDATA section will be ignored by the parser.`

look at http://www.w3schools.com/xml/xml_cdata.asp

0

精彩评论

暂无评论...
验证码 换一张
取 消