This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: XSLT IllegalAddException problem
It's not a secret anymore!