Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » New to JET can't access xsi:type value
New to JET can't access xsi:type value [message #603752] Wed, 21 March 2007 08:44
Stu Plu is currently offline Stu PluFriend
Messages: 44
Registered: July 2009
I assume this will be a quick one for most of you
I have the following line in my XML file:
<rules xsi:type="com.ibridge.stepbystepmodel:DecisionNode" tag="WhichState">

and I want to access the type in my JET template.

I can access the 'tag' attribute using

<c:get select="$attrib/@tag" />

But I can't seem to get to the type, i have tried both:

<c:get select="$attrib/@type" />


<c:get select="$attrib/@xsi:type" />

Can anyone point me to the right syntax.

Previous Topic:[Teneo]Multiple inheritance with multi-valued EReferences in second inherited class fails
Next Topic:JET Null Pointer Exception & XPath Axes
Goto Forum:

Current Time: Mon Oct 26 08:39:11 GMT 2020

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

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

Back to the top