xsl-list
[Top] [All Lists]

[xsl] "output" of xsl select into attribute of xml element?

2006-06-09 03:32:14
Hi everybody,

at the moment I am facing the following problem:

I'd like to pass stored information (stored in XML) on to the output as meta 
information, but I don't have a clue how to get the output of an xsl select or 
whatever statement into the attribute of an element...?
My current try looks as follows:

<xsl:variable name="var_description" select="PATH_TO_MY_RESOURCE" />
<meta http-equiv="description" content="$var_description" />

but for sure the XML meta tag is just taken as it is, because there is no xsl 
processing instruction =(

would be greate if someone could help me with that tiny question!

thanks

with best regards

Tom

using xslt 1.0 / xerces 2.6.2
-- 


"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>