Download Delve® SOA Fast-Prototyping Toolkit (Beta 1.0)
| Tutorials - How to Transform a Simple XML Document |
Page 1 of 1 |
All XML documents generated with Tectonic are associated with a namespace. If you explicitly make this association, a document is said to belong to a default namespace (to find out how to set the default namespace, you can take look at the Delve Habitat Tutorial). This lesson describes how to assign a document to a specific namespace.
For a namespace to be the target of an assignment, it must first be declared. This can be accomplished using a “register” statement, which begins with the keyword “register,” the keyword “namespace,” and a prefix to be associated with the namespace.

This statement declares that the namespace “www.cretaceoussoftware.com/examples/education” is associated with the prefix “edu.”
|
|
|