[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Simple Question
> Thanks for the replies. I'm better understanding how XSLT works and with > a little help able to get this to work: > > <xsl:if test="$a != $times"> > <xsl:text > disable-output-espacing="yes"><xqx:orOp></xsl:text> > ... > </xsl:if> NO!!! use of disable-output-espacing= is almost always a sign of _not_ using XSLT the way in which it is intended. If you need to generate tags (which is what you are dong here) XSLT is absolutely not the best language to be using, as it is designed to work with trees of element nodes. > The reason I had to do it this way If you are generating XNML or HTMl (as you are) you _never_ need to use disable-output-escaping, Ypu may need to do use it if generating some "almost XML" formats as used in template languages like JSP/ASP <%...%> David
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|