Notes on software and the ideas behind it

Find the meaning
behind the code.

I’m Fred Yang. I write about software—how it works, why it behaves the way it does, and the ideas that make code easier to reason about.

Open the notebook

Working notes / 2026

Recently mapped

Architecture, reactivity, and the hidden relationships that shape frontend systems.

xslt

XSLT note 5 - Cross tab transformation

1 Meal Breakfast 1 Meal Dinner lots of stuff 1 Tour Great wall 2 Meal Breakfast 2 Airport Transfer to hotel 3 Airport Transfer to airport 3 Meeting Face to face meeting
Follow the thread
xslt

XSLT note 3 - attribute tricks

When you want to output the value of node to destination, you can use . This works only when the destination is not in side of an attribute. If the output is in side...
Follow the thread
xslt

XSLT note 3 - variable

You can basically build a variable just as building any output. The simple way is
Follow the thread
xslt

XSLT note 2 - copy template

Here is a template that copy original xml file.
Follow the thread
xslt

XSLT note 1 - built-in template

A simple xslt is a empty xslt.
Follow the thread