Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » SVG property update and XPath expression
SVG property update and XPath expression [message #511864] Wed, 03 February 2010 09:47
Eclipse UserFriend
Originally posted by: templth.yahoo.fr

Hello,

I try to use the SVG support of GMF. It perfectly works to display SVG
image but I have problem when trying to use SVG property in order to
update properties within SVG document.

I set Getter and Setter properties in the SVGProperty element. I check
that the setter method is properly generated and called when needed. I
also set the Query with a XPath expression in order to select the SVG
node to update. I use a classic expression like that:
//circle[@id='int'] but no node is returned. I try other expressions
like //circle or /svg/cirlcle. Nothing works except the node()
expression which returns the root node (svg) of my svg file...

This problem is very strange and I wonder if it occurs for somebody else.

Thanks very much for your help!
Thierry
Previous Topic:modify diagram canonicalEditPolicy
Next Topic:Understanding Generated Diagram Code
Goto Forum:
  


Current Time: Sun Apr 18 00:53:07 GMT 2021

Powered by FUDForum. Page generated in 0.01886 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top