Re: Using ECS to generate an XSLT?
robert burrell donkin <[email protected]> Mon, 10 Apr 2006 22:48:00 +0100
| Newsgroups | gmane.comp.jakarta.ecs.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2006-04-10 at 14:09 -0700, Lauren Bish wrote: > On Apr 10, 2006, at 1:23 PM, robert burrell donkin wrote: > > > On Mon, 2006-04-10 at 11:43 -0700, Lauren Bish wrote: <snip> > >> Any examples/suggestions? > > > > there was some experimental code from way back that generates ECS > > syntax's from schema's and DTD's. if you do want to create an ECS > > grammar for XSLT that might speed things up a bit. alternatively, you > > could investigate more modern generators (for example JaxMe or > > XmlBeans). > > Thanks, but I am not looking for a data binding framework (unless I > am not understanding how these would be used to generate XSL) (sounds like your plan is a good match to your problem so this is just a FYI) binding the XSLT specification gives you a way to generate XSL documents. the old, experimental code generated ECS bound to a schema or DTD in a similar fashion. > - I just need to output XSL specific elements - even a subset would do > for now. Except for having to deal with HTML output (which is not a > requirement for my adapter - I output XML), I don't think it would be > too hard for me to extend the ECS to construct XSL in the same way > someone created the HTML output classes, but I wanted to make sure I > wasn't reinventing the wheel or there wasn't some other reason this > wasn't done (besides the problem of getting HTML output to work - > which would seem to require mixing of HTML inside XSL, and XSL inside > of HTML). i can't think of any reason why this hasn't been done and i agree that it shouldn't be too hard to do. so hope this answers your question :) - robert