獲取我需要格式化的html標籤來自XML如何格式化HTML標記從XML
例如
<p><b>Location. </b> <br />Located in central Chennai, The Raintree Hotel,
Anna Salai is connected to the airport and close to U. S. Consulate,
Valluvar Kottam, and Anna University.<p><b>Hotel features</b>
Other points of interest near this luxury hotel include SDAT Tennis Stadium and Kapalishvara Temple. </p><p><b>Hotel Features. </b><br />Dining options at The Raintree Hotel, Anna Salai include 2 restaurants. A swim-up bar and a bar/lounge are open for drinks. <p>
當我從獲取使用SimpleXML PHP的XML這一數據就說明這種類型data.I的不想此生data.i需要這樣
Location
Located in central Chennai, The Raintree Hotel, Anna Salai is connected to the airport and close to U. S. Consulate, Valluvar Kottam, and Anna University. Other points of interest near this luxury hotel include SDAT Tennis Stadium and Kapalishvara Temple.
Hotel Features
Dining options at The Raintree Hotel, Anna Salai include 2 restaurants. A swim-up bar and a bar/lounge are open for drinks. Room service is available 24 hours a day. The hotel serves a complimentary breakfast. Recreational amenities include an outdoor pool, a
我需要的HTML格式的數據顯示在瀏覽器中沒有html標籤數據
在此先感謝
我使用AJAX的jQuery喜歡的innerHTML我使用HTML ()函數在jQuery中,但它顯示相同的數據 – 2012-03-17 07:54:25
'<!DOCTYPE html>
你好 '從jQuery文檔1.4中顯示html字符串的示例 – iDroid 2012-03-17 08:02:17