The opposite of hierarchy

By Sean McGrath, ITworld |  BPM, XML 7 comments

It is not every day that one can search Google for a word and get precisely *one* hit. Today was such a day for me. I needed a word that means the opposite of the word "hierarchy". Some sources say "anarchy" is the word I'm looking for, but it does not suit my purposes as we will see. It sounds too unruly!

Thanks to Google, I came across the word "cholarchy" which had exactly one hit when I tried it. Of course, if you are reading this article on the Web and Google's spider has already visited, then the hit count is no longer one. The Web is a river and you can never step into the same river twice....

The word cholarchy is a great word. It may not even by the right word or a real word (it is not in Webster's and I don't have a subscription to the subscription-only Oxford English Dictionary) but it sure is a useful word.

Cholarchy makes XML people break into a rash. XML people naturally think in terms of hierarchy. Hierarchy is, arguably, the fundamental ethos of XML. Hierarchies are good and by implication cholarchies are bad.
Hierarchies are natural. Hierarchies are useful. Oh, and finally, hierarchies are just plain fun!

It seems we humans have a deep need to create hierarchies. XML panders beautifully to that primeval urge. As soon as two or more concepts line up in a row (the simplest possible cholarchy), we hierarchy zealots swoop and classify the concepts into a hierarchy. Just as nature abhors a vacuum, it seems that mankind abhors a cholarchy.

The obvious place where XML wallows in its ability to create hierarchies is in document structures. Everyone goes through the aha! moment when they realize the vista opened up by the ability to put tags inside other
tags. Hierarchical hedonism ensues.

Although tagging XML documents facilitate wonderful hierarchy-fests, the same is not true in schema languages. This may sound like an odd assertion given that schema languages exist to allow us to codify our
hierarchies. Here is what I mean:

What happens when two or more element type declarations line up in a row? The hierarchy zealots swoop! This is where things get interesting! They get interesting because -- unlike XML tags -- there is no generally accepted way to create hierarchies of element
type declarations.

Some designers would argue that element types are basically classes in the object oriented programming sense of the word. In this view, the way to add hierarchy to element types is to organize them into class hierarchies with inheritance relationships. The ultimate expression of this view is not to use any XML schema language to capture these hierarchies at all. Rather, the models are managed in some mainstream OO technology (such as UML) and XML schema language notations -- typically W3C XML schema -- are generated from the models. This is the approach
used in ebXML and HL-7 for example.

Others would argue that good old DTDs provide a basic facility for this, which can be used to create simple hierarchical relationships between element types known as parameter entities. In many DTDs you will find
parameter entities with names like "block", "inline", "heading", "list"
and so on. These act as containers and classifiers for elements - a pure XML 1.0 approach to basic object oriented classification. This is the approach used in the XHTML DTD for example.

Others would argue that the way to add hierarchy to schemas is to annotate element types with attributes that specify the classification system - architectural forms are an example. In the OO world, the use of archetypes in UML is similar in scope.

As ever, all the approaches have pros and cons. The UML approach works well at the expense of making the only legible version of the model visual (and most likely, proprietary to the tool that created the visualization.). Parameter entity approaches have the advantage of being pure XML 1.0 but are a quite limited, purely lexical approach. In particular, the classification is invisible to all but the most DTD-aware, validating parsers and thus the hierarchy information is not available easily to downstream processing. The architectural form
approach has the advantage that the hierarchy information is available downstream. However this approach has not received widespread support in
the industry.

Some time ago, I suggested that XML was just a special case of some more general technology. I am beginning to think that the next level up is now taking shape. We started by using XML to add hierarchies to data.

That is now an established and fairly well understood.

7 comments

    Anonymous 45 weeks ago
    Great post - I found it searching for the antonym to meta..Video Poker spielen
    Anonymous 45 weeks ago in reply to Anonymous
    Thanks for informative and helpful post, obviously in your blog everything is good.If you post informative comments on blogs there is always the chance that actual humans will click through.asthma cure
    Anonymous 1 year ago
    ugg boots london I saw something shocking uggs london on my way to work the other day. uggs new york While bundled in a long sleeved shirt, wool sweater and coat, with a Pashmina, hat and gloves,ugg boots london sale I saw a man with his bike a the bus stop in SANDALS. He wasn’t overly well dressed for cold weather, in jeans, t-shirt and open jacket. Now, having lived in Oregon for the past decade I have come to be aware of what “true Oregonians” consider winter attire. ugg boots london shop This primarily consists of the inbred belief that flip-flops are a necessity year round, and sweaters and umbrellas are for tourists.I do not uphold this belief.ugg boots sale london I love getting dressed up for winter, layering on leggings with my sweater dress and ugg boots new york, a sweater and a jacket, and a rotating army of scarves, hats and gloves.ugg boots london stockists I don’t enjoy being frozen, especially knowing how easy a situation that is to avoid. uggs new york sale So personally, buy ugg boots london I do not consider myself a “true Oregonian.” I like umbrellas, and only wear flip flops when it’s above 75 degrees.Based on the population of Oregon, ugg new york I’m probably in the minority. Although I have come to accept that these people are just immune to cold in a way I am not, uggs new york of sale I do still think they are crazy. I’m guessing that the good folks at UGG Australia caught wind of these people because look at what they have to offer: sandals with fleece! uggs new york on sale
    Anonymous 1 year ago
    There are many competing in our lives, Aion Kinah game as is. Click on Buy Aion Kinah to play
    Anonymous 2 years ago
    Great post - I found it searching for the antonym to meta... too bad you haven't figured out that one yet.But there are a couple other concepts for what you're looking at. The first one is "semi-lattice"It's a term from mathematics - a lattice is a graph structure where every point is connected to every other one. A hierarchy is where every point has - at most - one parent, but can have multiple children. In a semi-lattice, each point can have multiple parents as well, but isn't connected to everything.An less rigorous way to approach it is to use the term "heterarchy", found in Frederick Turner's "A Culture of Hope" - a more philosophical look.Daniel
    Anonymous 3 years ago
    Cholarchy isn't in the OED.Someone elsewhere claims that the opposite of hierarchy is 'heterarchy', but the OED says that this is "the rule of an alien".Mostly, i'm wondering about the opposite of meta. And it's no idle pondering - i've got a variable to name!-- tom
    Sean McGrath
    Sean McGrath 3 years ago in reply to Anonymous
    Tom,Cholarchy doesn't seem to be making many inroads if Google hit counting is anything to go by : http://www.google.ie/search?q=cholarchyThe OED (and Webster!) definitions are very odd - very alien. Plenty of hits for heterarchy out there relating it to hierarchy in one form or another. It even has the honor of a page on Wikipedia : http://en.wikipedia.org/wiki/HeterarchySean

      Add a comment

      Post a comment using one of these accounts
      Or join now
      At least 6 characters

      Note: Comment will appear soon after you have activated your account.
      Obscene/spam comments will be removed and accounts suspended.
      The information you submit is subject to our Privacy Policy and Terms of Service.

      ITworld LIVE

      BPMWhite Papers & Webcasts

      Webcast On Demand

      Reduced TCO for Communications Applications with New Oracle SPARC Servers

      In this webcast learn how Oracle's new SPARC T4 servers and SPARC Supercluster deliver the security, performance, and scalability required for 4G network infrastructure and cloud-based deployments, with up to 5x increased performance over previous generation servers.

      Sponsor: Oracle

      White Paper

      Using portals and electronic forms to automate business processes

      Automate your business processses with flexible forms, portals and process-based solutions from IBM.

      White Paper

      Get Serious About SOA Governance: A Five-Step Action Plan for Executives

      Download this whitepaper, Get Serious About SOA Governance: A Five-Step Action Plan for Executives to see why many organizations are reaping the rewards of successful SOA transformations and what you need to do to make yours one of them.

      White Paper

      Running SAP NetWeaver on the Oracle Exalogic Elastic Cloud - An Architectural Overview

      This document outlines the value of using SAP on Oracle Exalogic Elastic Cloud and the Oracle Exadata Database Machine and discusses architectural and practical considerations when deploying SAP on Exalogic and Exadata.

      White Paper

      Oracle Optimized Solution for Enterprise Cloud Infrastructure

      This guide offers recommendations and best practices for assembling and integrating a range of hardware and software components, such as servers, storage, virtualization software, and operating systems.

      See more White Papers | Webcasts

      Ask a question

      Ask a Question