This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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 ]
subject: XSLT IllegalAddException problem
Similar Threads
How to dynamically create or modify XSL
XPath returning Boolean not Node problem
xmlns and xsl
Using XSL to display XML
XSLT and embedded tags in text.