users@jaxb.java.net

how to add a xslt processing instruction using JDK 1.6 (Jaxb 2.0)

From: Andy Davidson <andy_davidson_at_apple.com>
Date: Wed, 2 Feb 2011 10:35:12 -0800

Hi

Does any one know how I can configure my marshaller so that It adds a processing instruction?


m.setProperty("com.sun.xml.bind.xmlHeaders", "<?xml-stylesheet href=\"FindAccountResponse.xsl\" type=\"text/xml\"?>");

raises javax.xml.bind.PropertyException


Thanks

Andy