Re: Proposal: Extend o.a.s.j.c.i.r.XmlReader to support XSL transformations

2009-02-17 Thread Vidar Ramdal
On Tue, Feb 17, 2009 at 1:05 PM, Felix Meschberger wrote: > Lets go with the ContentReader API change you propose. It is not > exported from the bundle so we are free to adapt it as we need. Patch awaiting approval at https://issues.apache.org/jira/browse/SLING-857 -- Vidar S. Ramdal - http:/

Re: Proposal: Extend o.a.s.j.c.i.r.XmlReader to support XSL transformations

2009-02-17 Thread Felix Meschberger
Vidar Ramdal schrieb: > On Fri, Feb 13, 2009 at 6:22 PM, Vidar Ramdal wrote: >> One easy way to get extensible format support, at least when speaking >> of XML formats, is to let XmlReader look for a reference to an XSL >> stylesheet in the XML file (> href="stylesheet.xsl"?>). > > I've come re

Re: Proposal: Extend o.a.s.j.c.i.r.XmlReader to support XSL transformations

2009-02-17 Thread Felix Meschberger
Hi Vidar, Vidar Ramdal schrieb: > On Fri, Feb 13, 2009 at 7:30 PM, Felix Meschberger wrote: >> Hi, >> >> Sounds like an interesting idea, we could even provide some default >> transformations... >> >> The only fear I have is, that this might introduce a huge pile of >> dependencies ? > > I think

Re: Proposal: Extend o.a.s.j.c.i.r.XmlReader to support XSL transformations

2009-02-16 Thread Vidar Ramdal
On Fri, Feb 13, 2009 at 6:22 PM, Vidar Ramdal wrote: > One easy way to get extensible format support, at least when speaking > of XML formats, is to let XmlReader look for a reference to an XSL > stylesheet in the XML file ( href="stylesheet.xsl"?>). I've come really close to implementing this, b

Re: Proposal: Extend o.a.s.j.c.i.r.XmlReader to support XSL transformations

2009-02-13 Thread Vidar Ramdal
On Fri, Feb 13, 2009 at 7:30 PM, Felix Meschberger wrote: > Hi, > > Sounds like an interesting idea, we could even provide some default > transformations... > > The only fear I have is, that this might introduce a huge pile of > dependencies ? I think we should be fine by just depending on Xalan,

Re: Proposal: Extend o.a.s.j.c.i.r.XmlReader to support XSL transformations

2009-02-13 Thread Carsten Ziegeler
Felix Meschberger wrote: > Hi, > > Sounds like an interesting idea, we could even provide some default > transformations... > > The only fear I have is, that this might introduce a huge pile of > dependencies ? > No I don't think so - everything we need for that is in the java 1.5. And starting

Re: Proposal: Extend o.a.s.j.c.i.r.XmlReader to support XSL transformations

2009-02-13 Thread Felix Meschberger
Hi, Sounds like an interesting idea, we could even provide some default transformations... The only fear I have is, that this might introduce a huge pile of dependencies ? Regards Felix Vidar Ramdal schrieb: > I have a couple of cases where I want to import initial content from a > bundle. In m

Proposal: Extend o.a.s.j.c.i.r.XmlReader to support XSL transformations

2009-02-13 Thread Vidar Ramdal
I have a couple of cases where I want to import initial content from a bundle. In my cases, it makes most sense to store the data as XML files, and let XmlReader install it. However, the XML format supported by XmlReader is a bit too verbose to be practical in many cases. At [1] Felix Meschberger