I'm not sure if I follow. I'm currently only looking at the value for content attribute for a value. Are you saying that specifically 'nam=...' should work or it should respect any attribute name?
name= should work as well.
Just asking because I never coded for that scenario but found a web page that had that, and it's valid