Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » EClass for prefix and namespace definition?
EClass for prefix and namespace definition? [message #602525] Sun, 05 August 2007 16:47
Eclipse UserFriend
Originally posted by:


I just started to work with the XML Schema Infoset.

My goal is to create a schema which rererences some namespaces:
************************************************************ ***
<schema targetNamespace=3D"

Using the API, I just need the following line (according to the develope=
r =

works article "XMLSchemaInfosetModel,Part1"):
************************************************************ ***

However, I need to know the concrete Model element, which stores the =

information and is referenced by the XSDSchema-EClass, since I want use =

the xsd.ecore for model transformation with ATL.
I can't find an element that defines a prefix - any help?

Although this is not an ATL newsgroup, I post the following example whic=
h =

demonstrates, why I need to know the EReference-Feature in the XSDSchema=

ECLass and the EClass representing the prefixes and namespaces. I hope t=
he =

example clarifies my question:
************************************************************ ***
rule Schema2Schema {
inputSchema XSD!XSDSchema
schema : XSD!XSDSchema(
targetNamespace <- 'de.uba.wiai.seda.soad.fallstudie',
<REFERENCE-FEATURE> <- refNamespaces
refNamespaces : XSD!<MODELELEMENT> (
prefix <- '...',
namespace <- '....'

Best regards

Rainer Bernhard

-- =

Erstellt mit Operas revolution=E4rem E-Mail-Modul:
Previous Topic:Are there any docs for the XML Schema engine?
Next Topic:EClass for prefix and namespace definition?
Goto Forum:

Current Time: Sun Nov 29 23:15:26 GMT 2015

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

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