У меня есть следующий 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 :: работал без успеха. Я уверен, что я просто пропустил что-то простое.
Умный! Спасибо. –
@JasonFrancis: Добро пожаловать. –