【发布时间】:2009-11-17 05:53:53
【问题描述】:
我正在从 XML 中提取数据,并且某些标签以这种方式在 CDATA 中包含数据
<description><![CDATA[Changes (as compared to 8.17) include:
Features:
* Added a ‘Schema Optimizer’ feature. Based on “procedure analyse()” it will propose alterations to data types for a table based on analysis on what data are stored in the table. The feature is available from INFO tab/HTML mode. Refer to documentation for details.
* A table can now be added [...]]]>
</description>
我已经在使用 preq_match 从描述标签中提取数据。那么如何从 CDATA 中提取数据?
【问题讨论】: