[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] processing code embedded inside a stylesheet
I have a number of templates that are all recursed using a simple <xsl:apply-templates /> within all the templates, its for processing XHTML. I want to put some nodes to match inside another template, for example: <xsl:template match="template:header"> <head> <title><xsl:value-of select="@title" /></title> </head> </xsl:template> <xsl:template match="template:body"> <body> <xsl:apply-templates /> </body> </xsl:template> now I want to do: <xsl:template match="template:defaultpage"> <html> <template:header title="Hello World" /> <template:body> <xsl:apply-templates /> </template:body> </html> </xsl:template> Is there a way to tell xsltproc to process these nodes as if they were part of the source file? -Jeff
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|