Skip to main content

Blogger AND Operator

I was skimming through this theme template XML, and I noticed there was the and being used inside the condition of b tag.

AND OPERATOR
AND OPERATOR
AND and OR
The last image above, you can see even OR operator is written conveniently as or!

Perhaps that is not new to some of you, but to me, that is NEW! 😄 I do actually implement that to my own logic in the Blogger XML template.

But of course, it again depends on the logic.

We can do this:

Or this:


Example

I mostly implement the second one. So, it's quite convenient to write it like regular coding syntax.

For instance, this nesting:

Can be written as such:

Quite nifty indeed! All hail Blogger! 🫡


Let’s Apply That to Hair Conditioner XML Tag

XML in hair conditioner Blogger tag stands for eXtremely Marvelous Lice-repellent. This is an amusement
XML: eXtremely Marvelous Lice-repellent

For our information, Blogger implements XHTML 1.0 instead of pure XML. That is the "offspring" of XML and HTML ➡️ it has the regular HTML tags nesting syntax but with XML strictness for tag enclosing and tag attribute value. Plus, it accommodates Blogger's custom server-side data tags.

Your visit is much appreciated. Cheers 🙂

Last modified on

Comments

Monkey Raptor uses cookies or biscuits 🍪 for analytics, functionality, and advertisements. More info in Privacy Policy