On 14/06/12 16:35, Sergey Beryozkin wrote:
Hi
On 14/06/12 16:28, Voß, Marko wrote:
Hello again,
we have been using our own JAXBElementProvider because of we need to
be able to make the stylesheet (XSL file)
configurable and there is no option to do that, right?
I thought you wanted to get the processing done inside the browser by
linking to the stylesheet resource using an XML PI.
So you'd like to get the processing done locally ?
Perhaps XSLTJaxbProvider can do it for you ? It sets path, query and
other request related parameters on the stylesheet. The info about it is
available at the same page.
The only thing that XSLTJaxbProvider does not do yet is that it does not
set some other custom parameters which I guess can be the same between
multiple requests. I can easily add a map property for that
Actually, it has inParamMap & outParamMap properties for setting
additional params on in/out templates. It extends JAXBElementProvider by
the way
Cheers
Sergey
Cheers, Sergey
Best regards,
Marko
Am 14.06.2012 17:04, schrieb Sergey Beryozkin:
By the way:
http://cxf.apache.org/docs/jax-rs-advanced-xml.html#JAX-RSAdvancedXML-XMLProcessingInstructions
Perhaps that can let you to avoid providing a custom provider
Cheers, Sergey
-------------------------------------------------------
Fachinformationszentrum Karlsruhe, Gesellschaft für
wissenschaftlich-technische Information mbH.
Sitz der Gesellschaft: Eggenstein-Leopoldshafen, Amtsgericht Mannheim
HRB 101892.
Geschäftsführerin: Sabine Brünger-Weilandt.
Vorsitzender des Aufsichtsrats: MinDirig Dr. Thomas Greiner.