Hi
  thanks.
  I add the CDATA like :

update?stream.body=<add><doc><field
name="name">shardTv_20131031</field><field update="set"
name="jobFirstRunExpress" ><![CDATA[<root><conditionGroup><conditionEntry
type=\"string\" isChangeable=\"true\"
><key>REP_DATE</key><op>></op><val>20130930</val></conditionEntry>
<op>and</op> <conditionEntry type=\"string\" isChangeable=\"true\"
><key>REP_DATE</key><op><</op><val>20131003</val></conditionEntry></conditionGroup></root>]]></field></doc></add>&commit=true

 and the field  jobFirstRunExpress in the doc just like :

jobFirstRunExpress":"REP_DATE>20130930 and REP_DATE<20131003"

 it seems  the xml tags were omitted.






2013/12/20 Gora Mohanty <g...@mimirtech.com>

> On 20 December 2013 14:18, YouPeng Yang <yypvsxf19870...@gmail.com> wrote:
> > Hi
> >    Thanks for your reply.
> >
> >    The <root>....</root>  is actually what I want to update the doc. That
> > is I intend to  update the xml string to one of the fields of my doc.
> [...]
>
> Ah, sorry, I missed that. As others have followed up, you need
> to escape the XML that is within that field.
>
> Regards,
> Gora
>

Reply via email to