XML Schema: importing versus including schemas

Last modified: 04/05/2014

No Comments

This example shows the difference between including and importing an XML schema and the purpose of it.
I kept the examples small just to understand the principles.

More

Rating 3.00 out of 5
[?]

The XML chameleon schema

Last modified: 14/02/2013

No Comments

The chameleon schema takes the “color” (namespace) of the main schema

Suppose you have several schemas which use common elements like a table or a certain type (in this example the nameType).

More

Rating 3.00 out of 5
[?]

XML Schema qualified, unqualified what’s it all about?

Last modified: 23/11/2012

No Comments

Did you wonder or even struggle with these attributes elementFormDefault="qualified" and attributeFormDefault="unqualified" on the root element of an XML Schema?
Maybe you even ignored them without even paying attention on them, but still curious?
Well if you did, take a deep breath, this is the place to be and read on.

More

Rating 4.50 out of 5
[?]

OmniMark “groups” to group your element rules

Last modified: 25/10/2012

No Comments

OmniMark groups is a nice feature to group your elements.
You can compare it with the “mode” feature in XSLT.
More

Rating 3.00 out of 5
[?]

Using OmniMark records

Last modified: 06/06/2012

No Comments

OmniMark records is a nice feature to hold some data of a certain type together.
Suppose we have a type person with firstname, lastname, birth and hobbies.
More

Rating 3.00 out of 5
[?]

Creating XML Schemas with Eclipse

Last modified: 30/01/2012

No Comments

Eclipse has support for XML Schema so you can develop and test your own schemas for free!

If you are new to XML Schema, the XML Schema tutorial from www.w3schools.com is a good starter to enter the world of XML Schema.

More

Rating 2.40 out of 5
[?]

Uptranslate and context translate with OmniMark

Last modified: 26/01/2012

No Comments

This post will explain some of the unique conversion features of OmniMark, which is uptranslate and context translate (See the conversion scheme to have an overview of the different types of conversion).

An uptranslate makes it possible to create XML (or SGML) starting from structured data. And this structured data doesn’t have to be XML. While creating this XML it is sent to the parser.

A context translate goes even a step further, it’s a combination of an uptranslate followed by a downtranslate.

More

Rating 3.00 out of 5
[?]

Unicode is not UTF-8

Last modified: 07/11/2010

No Comments

Sometimes I experience that Unicode and UTF-8 are mentioned as if it is the same thing. Although there is a relationship they are not the same.

This post explains shortly this relationship and gives you some references if you are interested in this material (and every programmer should!).

More

Rating 3.00 out of 5
[?]

Solving the streaming paradigm with OmniMark referents

Last modified: 14/10/2010

2 Comments

Unlike XSLT processors, OmniMark uses a streaming model to process XML/SGML.

A streaming model has advantages but it also has disadvantages. The XML flows from top to bottom. You can’t randomly access the XML tree in memory.

So how can you process an XML node in the beginning of a document if it depends on a node that hasn’t streamed yet or maybe never will come?

More

Rating 3.00 out of 5
[?]

Discarding content with the OmniMark suppress operator

Last modified: 14/10/2010

No Comments

Until now I only demonstrated examples where XML content is processed without suppressing the content.

More

Rating 3.00 out of 5
[?]

Older Entries