[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Gale-Shapley algorithm and XSLT on the Rosetta Sto
Hi Jean-Luc, I clicked on the "platform 9 3/4" link that bring me to https://rosettacode.org/wiki/Stable_marriage_problem/XSLT_input And I can see this XML input : <t> <m:stable-marriage-problem-result xmlns:m="http://rosettacode.org/wiki/Stable_marriage_problem"> <m:solution is-stable="true"> <m:engagement> <m:dude name="bob"/> <m:maid name="cath"/> </m:engagement> <m:engagement> <m:dude name="ed"/> <m:maid name="jan"/> </m:engagement> <m:engagement> <m:dude name="fred"/> <m:maid name="bea"/> </m:engagement> <m:engagement> <m:dude name="gav"/> <m:maid name="gay"/> </m:engagement> <m:engagement> <m:dude name="ian"/> <m:maid name="hope"/> </m:engagement> <m:engagement> <m:dude name="jon"/> <m:maid name="abi"/> </m:engagement> <m:engagement> <m:dude name="hal"/> <m:maid name="eve"/> </m:engagement> <m:engagement> <m:dude name="abe"/> <m:maid name="ivy"/> </m:engagement> <m:engagement> <m:dude name="col"/> <m:maid name="dee"/> </m:engagement> <m:engagement> <m:dude name="dan"/> <m:maid name="fay"/> </m:engagement> </m:solution> <m:message>Perturbing the matches! Swapping cath for jan</m:message> <m:message>The perturbed configuration is unstable.</m:message> </m:stable-marriage-problem-result> </t> Hope this helps, I didn't know about this "Stable marriage problem", original one ! Cheers Matthieu Ricaud-Dussarget Expert XML SI EDITORIAL m.ricaud-dussarget@xxxxxxxxxxxxxxxxxx TC)lB : 01 40 92 21 98 80 Avenue de la Marne - 92120 Montrouge -----Message d'origine----- DeB : Jean-Luc Chevillard jeanluc.chevillard@xxxxxxxxx [mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx] EnvoyC)B : mercredi 22 aoC;t 2018 10:59 CB : xsl-list ObjetB : Gale-Shapley algorithm and XSLT on the Rosetta Stone web site Dear list members, I have just had a quick look at the XSLT implementation of the Gale-Shapley algorithm which is available on the RosettaCode web site at https://rosettacode.org/wiki/Stable_marriage_problem https://rosettacode.org/wiki/Stable_marriage_problem#XSLT_2.0 but I cannot find the INPUT section Could someone kindly point to me where it is? I am probably missing the obvious but all I can find is the statement > Assume that the input is in XML form as listed here. The following XSLT 2.0 style-sheet.. and the location referred to by the word "here" remains invisible to me, like "platform 9 3/4" Thanks in advance for any help you can provide Best wishes -- Jean-Luc Chevillard (Paris) https://univ-paris-diderot.academia.edu/JeanLucChevillard https://twitter.com/JLC1956
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|