acrn-hypervisor/doc/scripts
Junjie Mao 0e225c4b23 config_tools: add a slicer of XML schema
We plan to add the following attributes to element definitions in the XML
schema:

  - acrn:applicable-vms, which specify if an element applies to a
    pre-launched VM, the service VM or a post-launched VM

  - acrn:views, which specify if an element shall appear in the basic or
    advanced tab in the configurator.

In order to reduce the attributes above to existing XML technologies, we
need to create new complex types that lists all config items that applies
to a pre-launched VM, the service VM or a post-launched VM, or that should
be shown in the basic or advanced view. Such types can then be used to
replace the original, all-in-one type during validation or configurator
rendering.

When unspecified, an element always applies under all possible
circumstances.

To realize this slicing mechanism, this patch adds a generic class
implementing the common part of slicing XML schema types and two
specific-purpose slicers according to the applicable VMs or views
attributes.

v2 -> v3:

  * Update configdoc.xsl to recognize types in xs:alternative nodes.

Tracked-On: #6690
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2022-03-15 10:22:37 +08:00
..
configdoc.xsl config_tools: add a slicer of XML schema 2022-03-15 10:22:37 +08:00
extract_content.py doc: fix graphviz scanning and processing 2018-08-30 14:05:50 -07:00
filter-doc-log.sh doc: add copyright/license header to doc scripts 2019-11-08 15:29:23 -08:00
filter-known-issues.py doc: add copyright/license header to doc scripts 2020-07-29 19:08:02 -07:00
fix-git-modified-date.sh doc: update last updated information on page footers 2021-11-03 19:10:56 -07:00
publish-README.md doc: post-merge changes to docs 2018-05-15 18:03:33 +08:00
publish-redirect.sh doc: add top-level redirect 2021-10-28 13:22:14 -07:00
publish-robots.txt doc: limit search engines scan on older content 2022-02-22 11:30:14 -08:00
requirements.txt doc: tweak python requirements for doc building 2021-10-19 18:20:36 -07:00
show-versions.py doc: update to sphinx_rtd_theme 1.0 2021-10-19 13:04:01 -07:00
sign_image.sh doc: Add tutorial to learn to sign binaries of a Clear Linux image. 2019-07-19 12:10:23 -07:00