XSD element with both attributes and child elements

This is one possible way to define an XSD matching your XML; when learning XSD, you could enroll the help of a tool that infers the XSD for you, starting from one or more XML sample files. <?xml version=”1.0″ encoding=”utf-8″?> <!–W3C Schema generated by QTAssistant/W3C Schema Refactoring Module (http://www.paschidev.com)–> <xsd:schema attributeFormDefault=”unqualified” elementFormDefault=”qualified” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”> <xsd:element name=”component”> … Read more

Firefox 4 : Is there a way to remove the red border in a required form input?

This was a little tricky but I’ve set up this exmaple: http://jsfiddle.net/c5aTe/ which is working for me. Basically the trick seems to be getting around having placeholder text which is invalid. Otherwise you should be able do this: input:required { box-shadow:none; } input:invalid { box-shadow:0 0 3px red; } or something similar… BUT since FF4 … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)