JAXB using marshaller.setProperty to specify xalan
843834Aug 11 2006 — edited Aug 14 2006Hi All,
I'm developing an application using JAXB 1.0.4. I'm able to successfully generate xml from the JAXB compiled classes. My root element should look like
<EzAp:Invoice xmlns:EzAp="http://siemens.com/einvoice" xmlns:xalan="http://xml.apache.org/xslt" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://siemens.com/einvoice file:///C:/einvoice/xml/EzAp.xsd">.
I'm not being able to specify the xalan namespace. Please let me know if I can do that through the marshaller.setProperty or any other work around.
Thanks for the help
Mahesh