Hi, Does anyone know where i could find some examples of how recipes are used. I've looked over the recipes that come with embperl 2, but it doesn't really say how to use them. I've also looked at the perldoc of Recipes, but I remain confused. I got this to work nicely inside an epl file:
Execute ({ inputfile => 'test.xml', recipe => 'EmbperlXalanXSLT', xsltstylesheet => 'test.xsl' }) ; But what i really want to do is something like: 1) process my embperl file through embperl 2) process the result through Xalan (or the xslt processor) so the src would look something like this: .epl ------------------------------------- [- print OUT "<?xml version="1.0" encoding="UTF-8"?>" $content = "this is some content" -] <page> <body-content> [+ $content +] </body-content> </page> -------------------------------------- .xls -------------------------------------- <?xml version='1.0' encoding='utf-8' ?> <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " ">]> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="//page"> <html><body> <table bgcolor="blue"> <tr><td bgcolor="f0f0f0"> <xsl:value-of select="body-content"/> </td></tr> </table> </body></html> </xsl:template> </xsl:stylesheet> ------------------------------------- Is there a recipe to do this? How would i use it? Is there a better or more powerfull way of using recipes? Please let me know if you can provide me with any answers. Thanks in advance, -Patrick Tully- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]