XML

Most important things a PHP developer has to know about XPath

I had an interesting task some time this year and i wrote down a few little bits for myself with intention to write an article later on. I might need it and it might help some others too so here is a list of most important things you have to know about XPath if you are a PHP developer.

Just a hint how to validate XML Schema xsd under linux

Its really basic stuff but worth to remember that you can easily validate XML Schema under linux command line with xmllint. It can be especially useful if you have to automate some xml files validation in crons etc.

Annoying unicode Byte Order Marks in UTF-8 files

There is this annoying thing that happened to me a few times before that some files get additional invisible characters at the beginning of the file. They might look something like this:

It happened to me a few times when i was working with some people from Germany and they used different tools and different encodings so i thought it was some editor related issue. But it was strange as it would only appear in the diff screen of eclipse svn plugin not in regular edit window.

Syndicate content

About the author

Artur Ejsmont

Hi, my name is Artur Ejsmont,
welcome to my blog. I am a passionate software engineer living in Sydney and working for Yahoo!

Web Scalability for Startup Engineers

If you are into technology, you can order my book Web Scalability for Startup Engineers on Amazon. I would love to hear what are your thoughts so please feel free to drop me a line or leave a comment.

Follow my RSS