<snip/> > <sendmail:body> > <xsp:logic>/* 500 */</xsp:logic> Hello, > <xsp:logic>/* 501 */</xsp:logic> this is a message > <xsp:logic>/* 502 */</xsp:logic> send through cocoon. > <xsp:logic>/* 503 */</xsp:logic> > </sendmail:body> > <xsp:logic>/* 504 */</xsp:logic> > > Will result in message: > "/* 500 */ Hello, /* 501 */ this is a message"... > > Other logicsheets might just strip large ranges of line numbers.
This will of course not work... we would rather need to do a search on the text() nodes inside the xsp:logic tag (which is actually the java source code) and replace each '\n' with '/* linenr */\n' inside the xsp.xsl. The only problem is (as also Ovidiu stated): not every XSLT processor supports line numbers :-( -- Torsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]