You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Evgeniy Strokin <ev...@yahoo.com> on 2002/08/12 20:39:33 UTC
How to register type of parameter in XSLTC?
Hi, I couldn't find answer for my question in User
List, so I'm asking for help here. Sorry if I'm out of
subject.
> When I'm running translet I'm getting this
> exception:
> java.lang.RuntimeException: Invalid argument type
> 'org.apache.xerces.dom.ElementImpl' in call to
> 'number()'
>
> I guess it because before compilation I was needed
> to
> say to compiler some parameter (it has name
> sgns_news)
> has type Element.
> I guess I can do it if I use
> translet.registerElement(QName);.
> Am I right? If so, how I can create QName for that
> special parameter. QName class in XSLTC package is
> not
> public.
> Any examples will be helpful and greatly
> appreciated.
>
> Thanks, Jenya
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com