|JXPath EMF and JET [message #991996]
||Thu, 20 December 2012 11:20
| Yumin Zhou
Registered: July 2012
I don't know whether this problem belongs to M2T or EMF. I suppose here first.
The background is that I need dynamical JET transform, so I use JETEmitter and my project is based on EMF.
As far as I know the normal XPath is not compatible with EMF, so I found one replacement named JXPath. My problem is that I want to use JXPath in the JET templates to filter the content and I only can use it as external jars. When I ran the project, I got some error messages like these:
ERROR in /.../.../.../JXPATHTemplate.java (at line 7)
The import org.apache cannot be resolved
ERROR in /.../.../.../JXPATHTemplate.java (at line 30)
JXPathContext xPathContext = JXPathContext.newContext(documentRoot);
JXPathContext cannot be resolved
I have added common-jxpaht-1.3.jar to my build path and also classpath. But it still doesn't work.
Does anyone have idea about it?
Thank you in advance!
Powered by FUDForum
. Page generated in 0.01451 seconds