From 205e182ae2a90d3b31677835652ad3f7c6b58b7c Mon Sep 17 00:00:00 2001 From: "David B. Kinder" Date: Thu, 28 Apr 2022 11:12:52 -0700 Subject: [PATCH] doc: tweak option config doc processing for missing attributes When an element in the schema does not have an acrn:applicable-vms or acrn:views (as opposed to having the attribute with an empty value, acrn:views="") we need to look up the ancestors to see if any of them have an element with such an attribute defined. If non of the ancestors have that attribute defined, then the intrepretation is that the element can be found for all VMs or for both basic and advanced tabs. Tweak the xslt processing of the schema data to option config doc to reflect these semantics. Signed-off-by: David B. Kinder --- doc/scripts/configdoc.xsl | 50 +++++++++++++++++++++++---------------- 1 file changed, 30 insertions(+), 20 deletions(-) diff --git a/doc/scripts/configdoc.xsl b/doc/scripts/configdoc.xsl index 67e7ede7f..a5772e80b 100644 --- a/doc/scripts/configdoc.xsl +++ b/doc/scripts/configdoc.xsl @@ -108,14 +108,17 @@ + + |icon-pre-launched-vm| |icon-post-launched-vm| |icon-service-vm| + - + |icon-pre-launched-vm| - + |icon-post-launched-vm| - + |icon-service-vm| @@ -134,23 +137,30 @@ / - - |icon-not-available| - - - - |icon-basic| - - - |icon-advanced| - - - - |icon-basic| - - - |icon-advanced| - + + + |icon-basic| |icon-advanced| + + + |icon-not-available| + + + + |icon-basic| + + + |icon-advanced| + + + + + |icon-basic| + + + |icon-advanced| + + +