Hi, > I thought this would be easy...I'm trying to pass a variable > defined in the Sitemap, and retrieve it in the Stylesheet.
first you have to handle the parameter to the transformer within the sitemap. ---sitemap-- <map:match pattern="*/show.html"> <map:generate src="xmldb:xindice-embed:///db/beschlusslage/"/> <map:transform type="xslt" src="xslt/antrag2html.xslt"> <map:parameter name="oid" value="{1}"/> </map:transform> .... ------------ Then you have to - declare the parameter in the xslt - and output it later with the $varname syntax ---xslt-- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:param name="oid"/> ... <xsl:template match="meta" name="antrag"> <xsl:value-of select="$oid"/> ... ------------ Hope that helps PHILIPP BURKERT [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]