29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

10.1.6 XML schema<br />

invoice<br />

<br />

The namespace definition in the first line assigns the global name<br />

http://www.my.com/acct-REV10 to the local qualifier acct. This qualifier is used<br />

on the element names such as name in order to attach them to the namespace.<br />

A second application, for example, a fulfillment system, can assign a different<br />

namespace to its customer elements:<br />

<br />

Corporation<br />

<br />

shipped<br />

<br />

An application processing both data structures is now able to treat the<br />

accounting and the fulfillment data differently.<br />

There is a default namespace. It is set if no local name is assigned in the<br />

namespace definition:<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!