Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 UserFriend
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 UserFriend
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 MerksFriend
Messages: 33137
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
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:How to get the XSDAttributeUse from a DOM-Node?
Next Topic:Problems with <redefine>
Goto Forum:
  


Current Time: Fri Apr 19 23:36:09 GMT 2024

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

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

Back to the top