<NeutralFeedbackPeriodArray>
<FeedbackPeriod>
<PeriodInDays>0</PeriodInDays>
<Count>5</Count>
</FeedbackPeriod>
<FeedbackPeriod>
<PeriodInDays>30</PeriodInDays>
<Count>0</Count>
</FeedbackPeriod>
<FeedbackPeriod>
<PeriodInDays>180</PeriodInDays>
<Count>4</Count>
</FeedbackPeriod>
<FeedbackPeriod>
<PeriodInDays>365</PeriodInDays>
<Count>5</Count>
</FeedbackPeriod>
</NeutralFeedbackPeriodArray>
怎么用php 把上面的中的值全部输出啊

解决方案 »

  1.   

    有很多方法, google 上找下 ..XMLReader->close() - Close the XMLReader inputXMLReader->expand() - Export current node to a DOM nodeXMLReader->getAttribute() - Get value of attribute by nameXMLReader->getAttributeNo() - Get value of attribute by positionXMLReader->getAttributeNS() - Get value of attribute by name and URIXMLReader->getParserProperty() - Indicates if parser property is set or notXMLReader->isValid() - Indicates if document is validXMLReader->lookupNamespace() - Get URI for prefix in scope of nodeXMLReader->moveToAttribute() - Positions reader on named attributeXMLReader->moveToAttributeNo() - Positions reader on attribute by indexXMLReader->moveToAttributeNs() - Position reader on attribute by name and URIXMLReader->moveToElement() - Move to parent element of current attribute nodeXMLReader->moveToFirstAttribute() - Move to first attribute of nodeXMLReader->moveToNextAttribute() - Move to next attribute of nodeXMLReader->next() - Move to next element skipping childrenXMLReader->open() - Set URI to be parsedXMLReader->read() - Move to next node in streamXMLReader->setParserProperty() - Set parser propertyXMLReader->setRelaxNGSchema() - Set URI of RelaxNG schema to validate againstXMLReader->setRelaxNGSchemaSource() - Set string containing RelaxNG schema to validate againstXMLReader->XML() - Set string of data to be parsed