On 17.Sep.2001 -- 09:05 PM, Aurelien wrote:
> Hi,
>
> Sorry, this is obviously a beginner's problem trying to fiddle with
> Xalan:
>
> I have this long list of xml nodes that I have to format into an HTML
> table. BTW, there *must* be some standard way to do this. However, I
> tried to implement a java static method in a helper class, taking a
> NodeList as parameter, with the following signature:
>
> public static String getTable (org.w3c.dom.NodeList nodelist );
>
> The xsl code is:
> ....
> <xsl:value-of
> select="java:be.fractals.soccer.servlet.TableFormatter.getTable(.)"/>
> ....
>
> But all I get is:
>
> org.apache.xml.dtm.DTMDOMException: java.lang.RuntimeException:
Xalan is in progress of switching its internal structures from DOM to
DTM. The version currently shipped with Cocoon is broken in some
respects regarding extension functions. This might very well be the
case here, too. Please try a different version (e.g. D8) and report
this to xalan-dev mailing list.
BTW you might be able to use xsl:for-each to build your table.
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
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]>