velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garey <>
Subject Problem with referencing a stylesheet from an XML document generated by a Velocity template
Date Fri, 08 Jun 2007 16:31:23 GMT
Hi -

    The subject kinda says it all. Here is a snippet of my template

<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="bindings.xsl" ?>



#foreach($bind in ${binds})




    When this generates a page that is viewed by a browser, the browser 
does not apply the stylesheet. If, however,  I save the generated page, 
put it where I can access it via a web server and view it, the template 
is applied.

Any suggestions on how to get the browser to apply a stylesheet to an 
XML document generated by a Velocity template?

Garey Mills

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message