Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » IResource help
IResource help [message #33217] Fri, 21 November 2003 18:48 Go to next message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
Ed,
How do I get the underlying XSDResource for a given IResource?

thanks,

lp
Re: IResource help [message #33253 is a reply to message #33217] Fri, 21 November 2003 19:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Lance

This will return you the EMF Resource for the IResource:


resourceSet.getResource(URI.createPlatformResourceURI(iResou rce.getFullPath().toString()),
true)


Lance Phillips wrote:

> Ed,
> How do I get the underlying XSDResource for a given IResource?
>
> thanks,
>
> lp
Re: IResource help [message #33286 is a reply to message #33253] Fri, 21 November 2003 19:26 Go to previous message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
Thanks I had just found it!!


"Ed Merks" <merks@ca.ibm.com> wrote in message
news:3FBE66C7.F101C930@ca.ibm.com...
> Lance
>
> This will return you the EMF Resource for the IResource:
>
>
>
resourceSet.getResource(URI.createPlatformResourceURI(iResou rce.getFullPath(
).toString()),
> true)
>
>
> Lance Phillips wrote:
>
> > Ed,
> > How do I get the underlying XSDResource for a given IResource?
> >
> > thanks,
> >
> > lp
>
Re: IResource help [message #580882 is a reply to message #33217] Fri, 21 November 2003 19:25 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Lance

This will return you the EMF Resource for the IResource:


resourceSet.getResource(URI.createPlatformResourceURI(iResou rce.getFullPath().toString()),
true)


Lance Phillips wrote:

> Ed,
> How do I get the underlying XSDResource for a given IResource?
>
> thanks,
>
> lp


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: IResource help [message #580904 is a reply to message #33253] Fri, 21 November 2003 19:26 Go to previous message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
Thanks I had just found it!!


"Ed Merks" <merks@ca.ibm.com> wrote in message
news:3FBE66C7.F101C930@ca.ibm.com...
> Lance
>
> This will return you the EMF Resource for the IResource:
>
>
>
resourceSet.getResource(URI.createPlatformResourceURI(iResou rce.getFullPath(
).toString()),
> true)
>
>
> Lance Phillips wrote:
>
> > Ed,
> > How do I get the underlying XSDResource for a given IResource?
> >
> > thanks,
> >
> > lp
>
Previous Topic:IResource help
Next Topic:How to run validation on xsd resource
Goto Forum:
  


Current Time: Fri Apr 19 10:25:27 GMT 2024

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

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

Back to the top