Subject: [xsl] XSLT as a programming language for developping an expert system From: "Laurent Lasudry" <lasudry@xxxxxxxxx> Date: Sat, 4 Mar 2006 20:15:30 +0100 |
P.S. : First sorry for my English ... XSLT as a programming language for developing an expert system --------------------------------------------------------------- The goal is to show that XSLT is a programming language making it possible to develop an expert system (thanks to its inference engine) and to implement it for the solving of a blocks world problem. The blocks starting situation would be represented by a XML file containing the blocks names and their higher and lower blocks (if they exist). The objective to reach (Ex: "block A on block B and block C alone") would also be included in a XML file. The XLM syntax would look like this : <Blockworld MaxFloors="0" TableSize="0"> <Block Name="a"> <Upperblock>b</Upperblock> </Block> <Block Name="b"> <Upperblock>b</Upperblock> <Lowerblock>a</Lowerblock> </Block> </Blockworld> The rules that will have to be used by the expert system (Ex: "if block A free then take it and put it on the table"; "if block A on block B in the objective then [if free] put A on B") would be represented in a XML file (RuleML format?). Thus the system would work as follow : Step-by-step (for each pass), rule(s) that the XSLT inference engine chooses (by a template-match) are applied to the tree representing the blocks world, leading to the objective. My problems are : - How to implement this idea concretely ? (- How to optimize the rules to solve this problem ?) Do you see any ideas that could maybe help me developing this ? Thanks !
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:sort in reverse doc o, G. Ken Holman | Thread | [xsl] Annotations in XSLT, Jesper Tverskov |
Re: [xsl] IE's conditional comments, M. David Peterson | Date | Re: [xsl] Total of calculated value, Neil Williams |
Month |