I want to transform an XML document into HTML. Some XML elements have links to others documents like:
In the H
You can utilize ARGV:
v=123test awk 'BEGIN {print ARGV[1]}' "$v"
Note that if you are going to continue into the body, you will need to adjust ARGC:
awk 'BEGIN {ARGC--} {print ARGV[2], $0}' file "$v"