It's not a secret anymore!
The moose likes XML and Related Technologies and the fly likes XSLT IllegalAddException problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSLT IllegalAddException problem" Watch "XSLT IllegalAddException problem" New topic

XSLT IllegalAddException problem

justin mcsporran

Joined: May 12, 2003
Posts: 15
This problem's got me bamboozled, so if anyone can help, I'd be really grateful.
I have a pretty simple xml document (in a dom4j Document object):

To this I'm applying the following xsl, with the aim of printing a table of just two attributes
from each of the <item> elements in the document(irrespective of whether the elements are
parents, children, etc... since they are all <item>s):

However, I get the following exception when I run it:

Any ideas as to where I'm going wrong would be really appreciated.
[ July 15, 2003: Message edited by: justin mcsporran ]
I agree. Here's the link:
subject: XSLT IllegalAddException problem
It's not a secret anymore!