Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sapphire » Does XMLBinding use XPath?
Does XMLBinding use XPath? [message #932606] Thu, 04 October 2012 05:00 Go to previous message
Hazem ELRAFFIEE is currently offline Hazem ELRAFFIEE
Messages: 25
Registered: September 2012
Junior Member
Hello everyone Smile I just wonder if XMLBinding use XPath for addressing different tags.

For example:
<tagA>
    <tagB key1="value1" />
</tagA>


If I want "key1" to be a Property in the class "ITagA.java", can I just write:

@XmlBinding ( path = "tagB/@key1" )

??

more generally, is it possible to make "key1" a Property for "ITagA.java" instead of creating a class for "tagB"?

And if I have to create a class for "tagB", how can I put "key1" as a Property Editor in the Composite of "tagA"?

Thnx in advance Smile

[Updated on: Thu, 04 October 2012 05:03]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic:Announcing Sapphire 0.5.3 Release
Next Topic:Is it possible to use buried xml tree nodes in diagram
Goto Forum:
  


Current Time: Wed May 22 21:50:23 EDT 2013

Powered by FUDForum. Page generated in 0.07642 seconds