Unable to Parse XML EMF Document [message #52079] |
Thu, 16 October 2008 13:12  |
Eclipse User |
|
|
|
Hi,
I am facing a peculiar problem,
Platform : Eclipse Ganymede SR1
I have a serialized EMF model - the serialization type is XML . I am
trying to generate the code from the Model to my surprise the parsing is
not happening other than for root element
<rootns:root xmlns:rootns="http://www.example.org">
.......
<rootns:child>
<rootns:text>blahblahblah</rootns:text>
</rootns:child>
.....
</rootns:root>
I am setting the variable in main.jet as follows
<c:setVariable var="page" select="/*"/> and passing the same to child.jet
<c:include template="templates/child.jet" passVariables="page"/>
child.jet
I am setting a value <c:setVariable var="child" select="$page/child"/>
When i put the tag : <c:get select="$child/text"/>
am getting XPath not returned the result error.
I have followed the JET documentation to set the transform properties that
are required for parsing the EMF XML
Can anyone throw some light in to this and let me know what could be wrong
?
Thanks,
Kamesh
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03826 seconds