OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] XRules: Mind your own business rules

[ Lists Home | Date Index | Thread Index ]

> -----Original Message-----
> From: David Lyon [mailto:david.lyon@computergrid.net]
> Excellent idea... I really *really* like it.....
Well, thank you very *very* much.

> Maybe I could use it in my markup?
> I would embed the calculations directly in the xml.. 

I guess that would work if the structure of the XML is relatively static,
but if you have repeating or recursive elements it gets complicated. And,
I'm guessing that you're using the XML to describe the structure of other
XML documents (something like Examplotron, which is, by the way, a
brilliantly simple schema language IMO). Otherwise, you'll need to find a
way to store the expression and the value from evaluating it in the same

> Actually this whole idea is not dissimilar to linking
> and calculations within spreadsheets. Providing the
> scope stays within the document... I think that it is
> quite a good idea.

True. Like a spreadsheet without the user interface.



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS