diff --git a/utilities/2017-02-27/README.md b/utilities/2017-02-27/README.md index c56e45ef..acb2556c 100644 --- a/utilities/2017-02-27/README.md +++ b/utilities/2017-02-27/README.md @@ -9,7 +9,11 @@ Since there can only be a single Entity Attribute element in an entity fragment we first check that there are no hidden IdPs that already have an Entity Attributes element. If there are (and there are not too many) we edit these files manually. -Run the script on the entity fragment files: `xsltproc listHideFromWAYFandEA.xsl uk*.xml` +First, check that the XSLT will flag an entity fragment file that has an Entity +Attribute and the HideFromWAYF element. Run `xsltproc listHideFromWAYFandEA.xsl ./test.xml`. +This should report `https://idp.example.ac.uk/idp/shibboleth`. + +Then run the script on all entity fragment files: `xsltproc listHideFromWAYFandEA.xsl uk*.xml` ## 2. Replace HideFromWAYF element with hide-from-disco Entity Category diff --git a/utilities/2017-02-27/test.xml b/utilities/2017-02-27/test.xml new file mode 100644 index 00000000..8474b788 --- /dev/null +++ b/utilities/2017-02-27/test.xml @@ -0,0 +1,20 @@ + + + + + + http://refeds.org/category/research-and-scholarship + + + + +