473,385 Members | 1,317 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

using XML tags for behavior

Hello,

I'd like to use XML for behavior. For example an xml-file, which noted
a "IF-THEN" statement.

<function name="test">
<if condition="i=0">
<function name="funexample" parameter="0">
<else>
<assin variable="i" value="i+1">
</if>
</function>

Is there any application to run these code direct in a Java class?

Till now I've found a scripting language "Simkin" using an second
approach. That means, xml can incorporate behavior, if the xml file
written in that form:
<function name="test2">
if (i=0){
funexample(0);
}else {
i=i+1;
};
</function>

I'd like to know if any new scripting language can be used for the
first xml file?

Best regards

Lucia
Jul 20 '05 #1
1 1485
ch*********@yahoo.com (Lucia) writes:
Thank you very much for your answer. Would you pls tell me more about
the state transition table?(or links) This is a totally new area for
me.
Google is your friend. E.g. the following links looks interesting (I
didn't check them). All should be about finite state machines. There
are others, but FSMs should be a good start, esp. because you can
ignore the math and still understand them :-)

http://users.ece.gatech.edu/limsk/co.../pdfs/lec8.pdf
http://class.ee.wustl.edu/ee460/sp02...s/Lesson12.pdf
http://www.desaware.com/Articles/Sta...ineIntroL3.htm
http://www.isip.msstate.edu/publicat...99/lecture_12/
http://www.research.att.com/sw/tools/fsm/tech.html
http://www.microconsultants.com/tips/fsm/fsmarticl.pdf
best regards from Aachen


If you study at the RWTH, have a look at the library. It is for sure
brim-full of literature about all kinds of state machines. It is a
fundamental concept in computer science, and there should be thousands
of textbooks, articles and research papers about them.

/Thomas
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: jonathon | last post by:
Hi all, I've been reading the manual for BackBase (the AJAX toolkit) and they use 2 new namspaces to add functionality to XHTML pages. If I have <xpm> and <b:foo> tags, how are these read and...
18
by: Robert Bowen | last post by:
Hello peeplez. I have an odd problem. When I put the ANSI symbol for "less than" ("<"), the word STRONG and then the ANSI symbol for "greater than" (">") in my web page, followed by some text, then...
1
by: Achim Domma (SyynX Solutions GmbH) | last post by:
Hi, I have a data structure which is serialzied into an xml like this: <?xml version="1.0" encoding="utf-8"?> <Storage xmlns:xsd="http://www.w3.org/2001/XMLSchema"...
8
by: FS Liu | last post by:
Hi, I am writing ATL Service application (XML Web service) in VS.NET C++. Are there any sample programs that accept XML as input and XML as output in the web service? Thank you very much.
11
by: julien | last post by:
Hello, I posted this question on the NDoc-user mailing list, but it looks like a dead list (no messages for 10 days!). I'd like to use NDoc tags or custom tags inside methods like: void...
13
by: Kantha | last post by:
Hi all, I have declared an Union as follows typedef union { struct interrupt_bits { unsigned char c_int_hs_fs_status : 1, c_setup_intflag : 1,
23
by: Bjorn | last post by:
Hi. Every time i post data in a form the contents are being checked for validity. When i click the back-button, all data is gone and i have to retype it. It's obvious that only a few or none of...
5
by: fjanon | last post by:
Hi, I went through the HTML spec without finding the description of what the browsers behavior should/must be regarding tags or attributes they don't understand. I did a quick experiment like...
5
by: John Gordon | last post by:
My XSLT files have many occurrences of this general pattern: <a> <xsl:attribute name="href"> <xsl:value-of select="xyz" /> </xsl:attribute> </a> When I execute an XSL transform, the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.