Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Expressing dynamics in XML ? >Thread Next - Re: Expressing dynamics in XML ? Re: Expressing dynamics in XML ?To: NULL Date: 8/11/2009 3:20:00 AM On Aug 10, 6:19=A0pm, "Steve W. Jackson" <stevewjack...@knology.net> wrote: > In article > <10e1b9c8-e9d5-4c55-8fe1-badbb86fe...@d23g2000vbm.googlegroups.com>, > > =A0mathieu <mathieu.malate...@gmail.com> wrote: > > Hi there, > > > =A0 I am looking at a way to express dynamic in XML. For example let sa= y > > I have : > > > ... > > <person name=3D"John Doe" Age=3D"30"> > > ... > > > =A0 How can I say that every year Age should be increased by 1 ? Has > > anyone work on integrating language and storing it as XML ? > > > thanks > > A person's date of birth doesn't change. =A0Include that and then the > "age" information will always be accurate when calculated from a > specified date. Excellent. So I now have: <person name=3D"John Doe" Bday=3D"197001001"> How do I express the rule Age is computed from Bday using current date ? I am looking at MathML, but it is missing a for-each which may come handy when I'd like to define more complex rules. Are RuleML and SMRL being used ? Thanks | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
