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(_dot_)ricaud-dussarget(_at_)lefebvre-sarrut(_dot_)eu
Tél : 01 40 92 21 98
80 Avenue de la Marne - 92120 Montrouge
-----Message d'origine-----
De : Jean-Luc Chevillard jeanluc(_dot_)chevillard(_at_)gmail(_dot_)com
[mailto:xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com]
Envoyé : mercredi 22 août 2018 10:59
À : xsl-list
Objet : [xsl] 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
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--