In article < >,
5tein <> wrote:
% I mean, with XSL functions such as SELECT can I only refer to XML
% element values or can I somehow also refer to XML attribute values?
I hate it when people as questions in the subject line, then don't
repeat them in the body of the message.
Select isn't a function -- rather it's an attribute of several
elements. This attribute always contains an xpath expression,
so you can refer to anything xpath can refer to.
As it happens, you can refer to attributes. It's worth reading an
introduction to xpath, but you can do something like
<xsl:value-of select='@x'/>
to get at the value of attribute x of the current node.
--
Patrick TJ McPhee
East York Canada