[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Question about xsl, xml,javascript


Subject: Re: Question about xsl, xml,javascript
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 29 Nov 1999 11:28:32 GMT


Your template has

<form method="post" name="question" onSubmit="return checkRules()">
Which of the following cities is the capital of USA

which means that it has `mixed content' ie some characters as well as
elements are children of xsl:template. If you do that then -all_
characters including white space, become significant. If you want
to use white space to indent your stylesheet then make sure that
xsl:template only has element content, so hide that text inside

<xsl:text>
Which of the following cities is the capital of USA
</xsl:text>

(This is for W3C XSL, hope that is still correct for IE5)

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xsl