php解析xml文档问题
把编辑框中的This is a test!
This is a test!
This is a test!
读入一个xml文件(用JDOM自动生成的XML文件),
文件中显示<text>This is a test! This is a test! This is a test!</text> (原来三行的文本变成了一行)
在PHP中 获得<text>标签中的内容,并用echo输出
输出的也是 This is a test! This is a test! This is a test!
怎样解析才能使输出的内容与编辑框的内容保持一至?
xml中的换行是怎么存储的?
希望大侠们帮帮忙。感激不尽!! :)
页:
[1]