diff --git a/mdx/uk/beans.xml b/mdx/uk/beans.xml
index eb3fccd0..9593dd9c 100644
--- a/mdx/uk/beans.xml
+++ b/mdx/uk/beans.xml
@@ -124,30 +124,6 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/mdx/uk/scopes.xsl b/mdx/uk/scopes_copy.xsl
similarity index 50%
rename from mdx/uk/scopes.xsl
rename to mdx/uk/scopes_copy.xsl
index ea29fed2..658a1a18 100644
--- a/mdx/uk/scopes.xsl
+++ b/mdx/uk/scopes_copy.xsl
@@ -1,63 +1,30 @@
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-
-
-
-
-
-
-
-
-
-
-
-
- false
-
-
-
-
-
-
-
-
@@ -66,15 +33,7 @@
-
-
-
-
- false
-
-
-
-
+
@@ -84,13 +43,11 @@
If an IdP's SSO or AA roles already includes an Extensions element, this may
already contain extensions other than scopes. We need to make sure that
if it does not also contain scopes, then any scopes declared at the entity
- level are copied down, and any outsourced scopes provided by the member
- list are imported.
+ level are copied down.
-->
-
@@ -100,15 +57,6 @@
-
-
-
-
- false
-
-
-
-
diff --git a/mdx/uk/scopes_inject.xsl b/mdx/uk/scopes_inject.xsl
new file mode 100644
index 00000000..b0f09c20
--- /dev/null
+++ b/mdx/uk/scopes_inject.xsl
@@ -0,0 +1,94 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+