I'm trying to substitute the language, description, keywords in the metatags in my template. How would I go about doing this?
Here's my stylesheet: <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" indent="yes"/> <xsl:template match="/"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="language here" lang="language here"> <head> <title>Just a title</title> <meta name="description" content="description here"/> <meta name="keywords" content="comma delimited keywords here"/> <meta http-equiv="Content-Language" content="language here"/> </head> <body> <div class="header"> header </div> <div class="content"> content </div> <div class="footer"> footer </div> </body> </html> </xsl:template> </xsl:stylesheet> Here's the XML: <?xml version="1.0"?> <doc> <language>en</language> <keywords>keyword1, keyword2</keywords> <description>Information about something</description> </doc> ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/