Greg's Blog

helping me remember what I figure out

XSLT Conditional Statements

| Comments

One of the other completely new aspects of my job has been working with xmlHTTPRequest and XML/XSL transformation. And here are a few things that I learned during my last project: you can use conditional statements. W3schools proved very helpful in getting to grips with this. You can do if like statements: [xml] Do something [/xml] And if/else statements: [xml] Do something Do something else [/xml] The test expressions can be made up of: “=”, “and”, “<”, “& amp;gt;” and probably a whole lot more, but I haven’t come across any other ones yet.