users@jaxb.java.net

Inserting an XSL stylesheet reference using JAXB

From: Chris Bucchere <chris_at_BUCCHERE.COM>
Date: Thu, 22 May 2003 10:26:53 -0600

Hi,

I'm using JAXB to collect information from a news source and marshall it to XML. I'd like to insert an XSL stylesheet reference (e.g. <?xml:stylesheet type="text/xsl" href="headlines.xsl"?>) at the top of every XML file that I create. Is there a way to do this through a property or method in the JAXB-generated code or do I have to modify the generated code in order to get it to insert this line?

Thanks,

Chris Bucchere
Bucchere Development Group
chris_at_bucchere.com
http://www.bucchere.com