xsl-list
[Top] [All Lists]

[xsl] Changing original html with XSL

2009-05-21 14:05:36

So I have a page that has initial HTML and then I have have xsl generate other 
html to put into the original html. I am able to get the generated html into 
the body tag, but I also wanted to added more code to the <head> </head> tag. 
Is there a way to insert code into the original head tag? For instance....

Original html file....

<html>
<head>
    JS and other stuff including title....
</head>

<body>
<div id="XSL ADDS SOME HERE"> </div>

</body>
</html>

And then .xsl file has something like

<xsl:output method="html"/>
<xsl:template match="/">
<head>
       Add more JS

</head

</xsl:template>

Is there a way to get the xsl files <head> data into the original head tag?


      

--~------------------------------------------------------------------
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>