Torsten Curdt wrote: > transform it once to add the line numbers. (it would be cool if the XSP > logicsheet could already provide this. but I fear that's not possible with > XSLT) > ... > <xsp:logic> > /* line:4 */ int a = 5;
Saxon has an extension function to retrieve the line number of the context node (saxon:lineNumber()). Maybe Xalan has an equivalent. J.Pietschmann --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>