OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [xml-dev] normalizing schemas

I'm not sure what you mean by "dissolve all references and insert it at the
referenced place", as to me that seems to be the opposite of
flattening/normalizing.  I consider normalizing to be hoisting all
definitions/declarations to the top level and replacing recursive structures
with references to the hoisted ones.
To see how to do that (and, incidentally, name the currently anonymous
structures) look at the XML Schema Formal Description:
Which discusses normalizing/flattening.
Matthew Fuchs

-----Original Message-----
From: xml-dj [mailto:xml-dj@gmx.de]
Sent: Monday, November 05, 2001 5:25 AM
To: xml-dev@lists.xml.org
Subject: [xml-dev] normalizing schemas

I have to normalize a schema with xslt for an application.
With "normalizing" I mean to flatten the schema-structure, e.g. to dissolve
all references and insert it at the referenced place... 
I am searching for a specification how to normalize a schema, but I have not
found anything up to now. Maybe someone knows where to find the spec or
maybe someone has/had the same thing to do?
Thank you and greeets