Hey Martin...Other Apache projects use XSLT to manipulate XML which
would make it the status quo? Anyway, in my opinion, the lighter the
better so your approach may be better :)

Adam

On Thu, Dec 5, 2013 at 1:30 AM, Martin Desruisseaux
<[email protected]> wrote:
> Hello all
>
> A quick note about the ongoing work. While applying JAXB annotations on
> referencing objects for GML (un)marshalling last week, I have meet the
> problem of handling different GML versions. A common approach found on the
> web is to support only one version, and use XSLT for transforming
> input/output in different formats if needed. I'm currently applying the same
> strategy, except that instead of using XSLT (javax.xml.transform), I use
> subclasses of javax.xml.stream as "micro-transformers". I presume that this
> is significantly lighter than real XSLT transformations, however this could
> be revisited in any future SIS version if the gain is not so significant, or
> if the transformations become more complex. I have opened a JIRA task [1]
> for remembering this possibility.
>
>     Martin
>
>
> [1] https://issues.apache.org/jira/browse/SIS-152
>

Reply via email to