How to reserve white space for a particular element in XSLT

J

joeblack

Elements like <textarea> must be in form of <textarea ...></textarea>
instead of <textarea .../>. How to do it or reserve a white space for
it in XSLT tranformation.

Thanks a lot
 
T

ted

To add a space you can use the <xsl:text> tag to surround a space.

<textarea><xsl:text> </xsl:text></textarea>
 
J

Julian F. Reschke

joeblack said:
Elements like <textarea> must be in form of <textarea ...></textarea>
instead of <textarea .../>. How to do it or reserve a white space for
it in XSLT tranformation.

Use the "HTML" output method (see xsl:eek:utput).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top