XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Tool that visualizes an XSD complexType hierarchy as aninverted tree (not as a sideways tree)?

Trees go from bottom to top. The branches and leaves are at the top, not the bottom 😊
Just saying

On Wed, 22 Dec 2021 at 14:23, Roger L Costello <costello@mitre.org> wrote:

Hi Folks,

 

I have a schema with a large complexType hierarchy. I want a tool that visually displays the hierarchy. All of the tools that I’ve seen display the hierarchy in a sideways fashion. But I don’t think sideways, I think top to bottom.

 

Please allow me to explain …

 

Here is a simple complexType hierarchy:

 

<xsd:complexType name="Publication">
    <xsd:sequence>
        <xsd:element name="Title" type="xsd:string" maxOccurs="unbounded"/>
        <xsd:element name="Author" type="xsd:string" maxOccurs="unbounded"/>
        <xsd:element name="Date" type="xsd:gYear"/>
    </xsd:sequence>
</xsd:complexType>


<xsd:complexType name="BookPublication">
    <xsd:complexContent>
        <xsd:extension base="Publication">
            <xsd:sequence>
                <xsd:element name="ISBN" type="xsd:string"/>
                <xsd:element name="Publisher" type="xsd:string"/>
            </xsd:sequence>
        </xsd:extension>
    </xsd:complexContent>
</xsd:complexType>

 

Here is how Oxygen XML visualizes the hierarchy:

 

 

While that is truly an excellent visualization, it is not how my mind works. The complexTypes are a “hierarchy” so my mind wants to see the base complexType at the top and subtypes underneath, like this:

 

 

For the project that I am working, I used Powerpoint to create the hierarchy. Below I show the structure of the hierarchy (A, B, C, etc. are not the actual complexType names). I seek something other than manually creating the hierarchy using Powerpoint. Is there a tool that visualizes a schema’s complexType hierarchy in a top-to-bottom fashion?  /Roger

 

--
----
Stephen D Green


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS