I was skimming through this theme template XML
, and I noticed there was the and
being used inside the condition of b
tag.
The last image above, you can see evenOR
operator is written conveniently asor
!
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
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 🙂
Comments
Post a Comment