posted 19 years ago
From an XSLT stand-point, it doesn't matter.
When writing your style sheet, you have equal(?)
access to both elements and attributes.
Although, if the accountNumber has a lot of
cross-references, then you are better of taking
an attribute approach. This way you can
define your keys on this attribute and pull up
the account elements in a faster manner.
Also, an accountNumber defines a property of an
account, so you probably should go with the
attribute approach. When I say that, I am treating
the accountNumber like an ID attribute of an
element.
Hope this helps.
- m