Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [URGENT] Creating XML Model using EOL(This is what i need to do for mine scholarship.)
icon4.gif  [URGENT] Creating XML Model using EOL [message #1278003] Wed, 26 March 2014 19:31 Go to next message
André Albuquerque is currently offline André Albuquerque
Messages: 2
Registered: March 2014
Junior Member
Good Evening everybody, im from Brasil, my name is André Albuquerque, i study at Universidade Federal do Ceará (UFC), and i have a scholarship that i owned last year and im having some troubles with the tasks that i have to do.

I need to compose XML models, defining a schema in XML <masml:AgentClass> and i dont know how to define the "colon", because when i do this theres an error at Epsilon and the "colon" is used for attribution. My friend Wallinson Deives and i would be very greatfull if you helps us, because we already tried everything, and we dont know how to do this anymore.
Re: [URGENT] Creating XML Model using EOL [message #1279147 is a reply to message #1278003] Fri, 28 March 2014 09:49 Go to previous message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 880
Registered: July 2009
Senior Member
Hi,

You can use back-ticks to escape any reserved characters. For example, the following EOL program

var foo = new `t_foo:bar`;
XML.root = foo;

generates the XML document below:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<foo:bar/>

Cheers,
Dimitris
Previous Topic:sortedBy
Next Topic:ETL
Goto Forum:
  


Current Time: Mon Oct 20 04:46:35 GMT 2014

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

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