Feeds

Build business-ready XML Schema with JDeveloper

Communicate clearly

  • alert
  • submit to reddit

3 Big data security analytics techniques

If XML is being used increasingly to describe business actions, then XML Schema is becoming the language that enables companies to actually communicate clearly with, and to understand, each other.

While XML has become the standard medium for exchanging data, it's XML Schema that defines the structure, content and semantics of the XML documents involved in transactions.

Imagine a shipping company sends an XML document to a client containing details on a cargo shipment. The client won't be able to interpret the XML document if it contains elements and attributes it's not used to. An XML Schema can make the contents understandable.

In this piece, I shall explain how you can create and register an XML Schema, and then create an XML document from your XML Schema, using Oracle's JDeveloper 10.1.3 development environment.

I've selected JDeveloper because I've found it to deliver the most comprehensive XML Schema tools of its peers in the Java market. JDeveloper 10.1.3 features XML Schema support without need for a separate plug in, there's an integrated design view and the ability to instantiate an XML document from an XML schema.

Creating a Schema

In this section we shall create an XML Schema, catalog.xsd, in JDeveloper's Schema Visual Editor. Before that, though, make sure you've got JDeveloper 10.1.3 installed and running on your machine, and then create an application and a project.

Now, add a Schema file to the JDeveloper project. Select the project node in Applications Navigator, and select File>New in the main menu. In the New Gallery window select the General>XML node in Categories. Subsequently select XML Schema in the Items listed. In the Create XML Schema window, specify a File Name. An XML Schema will be added to the project. In the Design view the different components of the schema are displayed in the schema visual editor. In the Source view, the schema document source is listed. The different schema components available to be added to the schema are listed in the Schema Components Component Palette.

You may add components to a schema from either the component palette or from a component node in the schema design view. As an example of adding a component from a component node, add root element,catalog. Right-click on <schema> node in Design view and select Insert inside schema> element.

SANS - Survey on application security programs

More from The Register

next story
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Oh no, Joe: WinPhone users already griping over 8.1 mega-update
Hang on. Which bit of Developer Preview don't you understand?
Microsoft lobs pre-release Windows Phone 8.1 at devs who dare
App makers can load it before anyone else, but if they do they're stuck with it
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Internet-of-stuff startup dumps NoSQL for ... SQL?
NoSQL taste great at first but lacks proper nutrients, says startup cloud whiz
Ditch the sync, paddle in the Streem: Upstart offers syncless sharing
Upload, delete and carry on sharing afterwards?
New Facebook phone app allows you to stalk your mates
Nearby Friends feature goes live in a few weeks
Microsoft TIER SMEAR changes app prices whether devs ask or not
Some go up, some go down, Redmond goes silent
Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
Admins dab straining server brows in advance of Trusty Tahr's long-term support landing
prev story

Whitepapers

SANS - Survey on application security programs
In this whitepaper learn about the state of application security programs and practices of 488 surveyed respondents, and discover how mature and effective these programs are.
Combat fraud and increase customer satisfaction
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Top three mobile application threats
Learn about three of the top mobile application security threats facing businesses today and recommendations on how to mitigate the risk.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.