2
我有下面的XML:XSLT:拿刀砍混合內容節點
<section editable="true">
<p>If you have any questions about the project at Test School or how we plan to use the results, please contact <contact>Al c</contact><contact_info> at <contact_email>email address</contact_email> or <contact_phone>phone number</contact_phone>.</contact_info></p>
<p>Your feedback is valuable, and <strong>I</strong> want to thank you personally for considering this request.</p>
<p>Sincerely,</p>
</section>
,我有一個新的要求創建這個表單:
<textarea>If you have any questions about the project at Test School or how we plan to use the results, please contact</textarea>
<input type="text" value="Al c " />
<input type="text" value="at email address or phone number." />
<textarea>Your feedback is valuable, and I want to thank you personally for considering this request.
Sincerely,</textarea>
文字輸入是簡單的,和我能夠爲該部分創建一個大的文本區域,但我一直在努力使前面的sibling ::和下面的sibling ::工作沒有成功。我相信我只是想念一些簡單的東西。
聰明!謝謝。 – 2012-04-06 13:24:01
@JasonFrancis:不客氣。 – 2012-04-06 13:28:41