Skip to main content

Posts

Showing posts from April, 2013

Learning XML Part II

All XML Elements must have a Closing tag Unlike in HTML where some elements don’t need one. This is very important- when I update existing XML documents so that I can send a message to another system à this is a basic thing I check so that I don’t get annoyed by a stupid error message Oh, and if you need more incentive. It’s ILLEGAL. XML tags are Case sensitive Opening and Closing tags must be written with the same case Otherwise, they are technically different. XML Documents Must have a Root Element In other words, all of the elements need a mummy. At least one element must be a parent to the others. For example it should be: <Book> <Title>Hunger Games</Title> </Book> You can’t put just: <Title>Hunger Games</Title> (P.S. The Hunger Games Catching Fire Trailer is out now- trés excited!) XML Attributes Attributes provide more information about the element. These always have to be in either single or

Learning XML Part I

What exactly is XML? XML is eXtensible Markup Language. What's it used for? To transport information and send data. For example: Between 2 systems. XML is designed in such a way that XML enables 2 systems to 'talk' to each other. An important distinction to note between XML and HTML is that whilst XML is used to transport information and send data; HTML is used to display information. There are not really pre-defined rules regarding tags. So if you want to send information on, say, someone's favourite chocolate- you could type in: <chocolate> Butterfinger </Chocolate> Why do I want to learn XML? I'd love to explore of the possibility of getting into Integration Testing later in the future. How am I learning XML? W3 schools website - it's an awesome website (I definitely recommend it) At work Bit of Youtube