Alvin Poh

Tag: service

How To Generate XSD from XML / Convert XML to XSD

I had to complete a project that involved working with a web service. Problem was, I had the XML files, but needed the XML Schema Definition (XSD) schemas, and coming up with them manually would have been too tedious and would have took too much time. So I went online, and found 2 reliable methods. Oh, and they are free!

Generate XSD from XML Tool

The first is Trang. You can get it here from the official Trang site, or here where I’ve had it mirrored: Download Trang

Using it is simple: Just extract it, then go to your command-line, and run it against any XML document that you may have. Trang is written in Java, so it’s cross-platform and compatible with any platform that can run the Java Virtual Machine. To use it, just use it in this syntax:

trang.jar <your XML> <your desired XSD>

An example:

trang.jar YourDocument.xml YourSchema.xsd

Viola! You’ll find your XSD automatically generated!

Generate XSD from XML Online

If you don’t want to go through Trang, you can use an online tool. The only online XML to XSD tool that I found was this one: Generate XSD from XML Online

It’s pretty good too, and can give you a quick XSD from your XML document.

Best XML Book for Beginners

If you’re interested in XML and want to learn more about it, I highly recommend this XML book: XML: Visual QuickStart Guide

Have fun! 😀

Apple Announces Giant iPhone

Apple just announced the release of the iPad, I mean, the giant iPhone.

It’s whole lot bigger than the iPhone, but it runs iPhone apps natively. It also comes with 3G capabilities, a microphone, headphone jack, and speakerphone? I bet it won’t be long before someone figures out how to use Skype or some other VOIP service with that.

On the other hand, one thing I can be sure of is that Amazon’s Kindle and the other ebook readers are suddenly going to face some very fierce competition.

Mozy Online Backup Review

mozy logo I have tonnes of data on my laptop that’s essential for my work and school. Stuff like my personal documents, school transcripts, projects, and program settings and data.

I used to use an external hard drive to do my backup, but I realised that most of the time all my data would be in the same area, since my hard drive is typically left at home. That doesn’t bode well if there’s a break-in, fire, or some other disaster that happens to my home.

Sometimes I travel too, and then all my data would be with my carry-on luggage. What happens if my carry-on luggage gets stolen, lost or destroyed? 2 executives who travelled on a plane flight that crashed carried both their primary laptop and secondary backup hard drive with them when the crash occurred. They survived, but not their data.

That’s when I started looking at off-site or online backup services, and after poking through the various offerings, I decided to settle on Mozy. One reassuring factor about Mozy is that they’re owned by EMC, a very reputable technology MNC specialising in information and data storage and management. With such sensitive data at risk, I’d personally prefer to go with someone reputable, and whom I know won’t go bankrupt tomorrow and disappear.

mozy screenshot

Mozy has a comfortable, user-friendly interface that’s easy to use and straightforward. Backups can be secured with a password that only you know. The encryption that they use is industrial-strength too. It would take a normal desktop millions of years to try to successfully crack the encryption via a brute-force attack. That’s one of my primary concerns when I look for an off-site backup service — security and privacy of my data. After all, my entire life’s worth of information is there and I definitely do not want someone else taking a peek at them.

After the initial large backup (it takes a while for me because I have so much data, but I just leave it running on its own), subsequent backups are fast because Mozy only backs up the difference. Thereafter, restoration is painless — you can select an entire folder, or a specific file to restore.

After using it, I highly recommend Mozy’s online backup service. Get it if you haven’t! Here’s a coupon code that you can use:

Edit: Coupon code updated

Copyright © 2016 Alvin Poh

Web Hosting by VodienUp ↑