Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » IResource help
IResource help [message #33217] Fri, 21 November 2003 13:48 Go to next message
Lance Phillips is currently offline Lance Phillips
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 14:25 Go to previous messageGo to next message
Eclipse User
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 14:26 Go to previous message
Lance Phillips is currently offline Lance Phillips
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 14:25 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25744
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
Re: IResource help [message #580904 is a reply to message #33253] Fri, 21 November 2003 14:26 Go to previous message
Lance Phillips is currently offline Lance Phillips
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: Thu Apr 17 14:26:34 EDT 2014

Powered by FUDForum. Page generated in 0.02444 seconds