Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » How to get the XSDAttributeUse from a DOM-Node?
How to get the XSDAttributeUse from a DOM-Node? [message #58978] Mon, 04 April 2005 11:52 Go to next message
Eclipse User
Originally posted by: runinpanic.gmx.de

Hi

I would like to have the XSDAttributeUse-object returned from a Node
(that I get using an Xpath-Expresssion) I kknow the way to get the
XSDConcreteComponent of a node using
SCHEMA.getCorrespondingComponent(Node) ... but that method only returns
a XSDAttributeDeclaration when having an Attribute-Node given. How can i
get the XSDAttributeUse-object that contains that
XSDAttributeDeclaration?

Thank you for your help

Regards
Hajo Hoffmann
Re: How to get the XSDAttributeUse from a DOM-Node? [message #59006 is a reply to message #58978] Mon, 04 April 2005 12:07 Go to previous message
Eclipse User
Originally posted by: merks.ca.ibm.com

Hajo,

Probably the getContainer of the XSDAttributeDeclaration will be the
XSDAttributeUse.


Hajo Hoffmann wrote:

>Hi
>
>I would like to have the XSDAttributeUse-object returned from a Node
>(that I get using an Xpath-Expresssion) I kknow the way to get the
>XSDConcreteComponent of a node using
>SCHEMA.getCorrespondingComponent(Node) ... but that method only returns
>a XSDAttributeDeclaration when having an Attribute-Node given. How can i
>get the XSDAttributeUse-object that contains that
>XSDAttributeDeclaration?
>
>Thank you for your help
>
>Regards
> Hajo Hoffmann
>
>
Re: How to get the XSDAttributeUse from a DOM-Node? [message #594668 is a reply to message #58978] Mon, 04 April 2005 12:07 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
Hajo,

Probably the getContainer of the XSDAttributeDeclaration will be the
XSDAttributeUse.


Hajo Hoffmann wrote:

>Hi
>
>I would like to have the XSDAttributeUse-object returned from a Node
>(that I get using an Xpath-Expresssion) I kknow the way to get the
>XSDConcreteComponent of a node using
>SCHEMA.getCorrespondingComponent(Node) ... but that method only returns
>a XSDAttributeDeclaration when having an Attribute-Node given. How can i
>get the XSDAttributeUse-object that contains that
>XSDAttributeDeclaration?
>
>Thank you for your help
>
>Regards
> Hajo Hoffmann
>
>
Previous Topic:How to get the XSDAttributeUse from a DOM-Node?
Next Topic:Problems with <redefine>
Goto Forum:
  


Current Time: Sun Sep 21 06:18:43 GMT 2014

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

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