[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XML and behavior description

  • From: Thierry Thelliez <tgt@l...>
  • To: xml-dev@i...
  • Date: Tue, 08 Sep 1998 14:10:04 -0600

behavior description
Hello,

I need to find a solution to exchange complex definitions.

I have the following difficulties:

1- Dynamic behavior

These 'Entities' can have behavior as value of their attributes.
I guess I could do something like
<!ENTITY % script "CDATA"> and use %script where needed
but:
1-a- How can I define the language used ?
something like <script LANGUAGE="JavaScript"> ?

1-b- These functions/methods/procedures should respect formatted
parameters in input and in output. How can we document that ?

1-c- I guess this could be very similar as documenting in XML an
OO code.

2- Composition

The Entities will depend on several others. Is that a 'link' in XML ?
 

Maybe it will be easier with an example :-) Let's assume that we
write a code to simulate a car engine.

The final XML could be an ENTITY engine including all the parts number.
But these parts are experimental. A simple pipe is described in a very
generic way by it's author. There will be pipe's parameters like
length (assuming that it is a straight pipe), physics description (behavior)
like flow dynamic (simulation code).

Using OO words, an instance Engine will contain instances of the
class Pipe (and other more complex parts !). The difficult part is that
the consortium want to exchange instances of the class Engine as well
as versions of the class Pipe (or any new 'generic' part created).

Do you see XML fitting these requirements ? Already done somewhere ?

Fom my OO eyes, I see that as a problem of exchanging not only instances
but also class (version) definitions. Of course there is a big configuration
management problem but that's not an XML issue (description language).
 

Thanks
Thierry
 
 

-- 

.....................................................................
. Thierry Thelliez                   Los Alamos National Laboratory .
.   Email: tgt@l...                                      CIC-15 .
.   Voice: (505) 665 8631                                   MS M310 .
.     Fax: (505) 665 5725                       Los Alamos NM 87545 .
.     URL: http://www.lanl.gov/cgi-bin/phone/113845             USA .
.....................................................................
 

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.