[ 
http://jira.codehaus.org/browse/JIBX-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Sosnoski resolved JIBX-230.
----------------------------------

      Assignee: Dennis Sosnoski
    Resolution: Won't Fix

This is too specialized to support directly. If the processing instructions are 
intended to go inside the object representation you should be able to get much 
the same effect by using a custom marshaller class which just looks up the 
appropriate processing instruction and writes it to the output. You could then 
invoke this custom marshaller from each <mapping>.

> Would be useful to be able to add XML processing instructions in binding files
> ------------------------------------------------------------------------------
>
>                 Key: JIBX-230
>                 URL: http://jira.codehaus.org/browse/JIBX-230
>             Project: JiBX
>          Issue Type: Improvement
>          Components: core
>            Reporter: Paul Runyan
>            Assignee: Dennis Sosnoski
>            Priority: Minor
>
> My app needs to add stylesheet processing instructions to some of my XML 
> outputs of the form:
> <?xml-stylesheet href="/splod.xsl" type="text/xsl"?>
> It is possible to do this programatically by getting the hold of the 
> IXMLWriter from the IMarshallingContext, but if you need to specify diferent 
> processing instructions for different types of marshalled objects it gets 
> ugly.
> It would be extremely useful if processing instructions could specified 
> declaritively in the binding files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to