开发者

XML tag meaning

I have a part of xml file

<Text>&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;ObjectFilter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;FilterConditions&gt;
    &lt;FilterCondition&gt;
      &lt;PropertyFilters&gt;
        &lt;PropertyFilter&gt;
          &lt;PropertyName&gt;Message&lt;/PropertyName&gt;
          &lt;FilterValue xsi:type="xsd:string"&gt;PPM exceeds tolerance&lt;/FilterValue&gt;
          &lt;FilterType&gt;strExpr&lt;/FilterType&gt;
          &lt;Operator&gt;eq&lt;/Operator&gt;
          &lt;CaseSensitive&gt;true&lt;/CaseSensitive&gt;
          &lt;Recursive&gt;false&lt;/Recursive&gt;
        &lt;/PropertyFilter&gt;
      &lt;/PropertyFilters&gt;
      &lt;Enabled&gt;true&lt;/Enabled&gt;
      &lt;ObjectTypeName&gt;Spo.DataModel.UnixLogMessage&lt;/ObjectTypeName&gt;
      &lt;ObjectClassGR&gt;
        &lt;Guid&gt;00000000-0000-0000-0000-000000000000&lt;/Guid&gt;
      &lt;/ObjectClassGR&gt;

Here what is node Recursive meant,,it actually like this开发者_如何学Go <Recursive>false</Recursive>

but how come it like &lt ;Recursive>false&lt ;/Recursive > Can any one help me about this


How are you getting this XML file? From a webpage?

It seems that the way you are getting the text file is translating it as an HTML document and thus turning your '<' into &lt and your '>' into &gt

You need to ensure that the page is not interpreted as HTML. You could just copy-paste everything into Notepad first for a simple solution.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜