On Tuesday 01 January 2002 21:08, Les Mikesell wrote:
> From: "Matt Sergeant" <[EMAIL PROTECTED]>
>
> > > Does anybody know a template engine, whose templates can be edited with
> > > a "WYSIWYG" editor (favourably dreamweaver) as they will look when
> > > filled with example data?
> >
> > If you use XSLT, there's a number of options available to you. Try
> > searching a site like http://www.cafeconlech.org/
>
> I can't reach that site - is the spelling correct?

No, it's http://www.cafeconleche.org/

>  I'd like to find something that
> would allow non-technical people to write their own templates for pages
> that, as they are accessed, fill in variables pulled by a server-side http
> request to an XML data source.

This may not at all fit your needs but Illustrator 10 has data binding 
options and exports to SVG (which can then be viewed on the web). I haven't 
yet looked into it enough to know whether what it offers is sufficient or 
not. Given that Adobe is heading very heavily in the direction of end-user 
XML these days, you should probably look into GoLive 6 when it comes out 
(probably in less than a week).

Another option might be XML Spy. XML+XSLT editors are probably to replace 
HTML editors as time goes by and people increasingly realise just how much 
easier it is with real templates (as opposed to the stuff you get in current 
editors). Given that your data is XML and you need them to control the 
output's structure a bit to add form fields (which can't be done _yet_ with 
CSS), something that generates XSLT is probably the solution as any other 
XML-transforming option will likely require code (tough you might be able to 
do it in XPathScript).

> To make things even more difficult, I'd like parts
> of the resulting page to appear in editable form fields that could be
> modified before submitting to yet another location.   We have data servers
> with commodity
> exchange data, and reporters that need to generate stories showing those
> values,
> sometimes including comments.   Some of the layouts never change, but it
> would really be best if the reporters could generate and control their own
> templates without having to understand all of the details involved.

A lot of this depends on just how much layout power you need to give them, 
and on the degree of complexity and context-dependency of your source XML. If 
it's only simple stuff and the XML is rather context-free (ie element <foo> 
means the same thing and has pretty much the same layout irrespective of its 
relationship to the rest of the tree) then you could have some simple 
interface onto a backend that would generate user-specific stylesheets. Of 
course, I'm missing a lot of data and requirements about your project so this 
is all educated hand waving at best :-)

Happy new year all !

-- 
_______________________________________________________________________
Robin Berjon <[EMAIL PROTECTED]> -- CTO
k n o w s c a p e : // venture knowledge agency www.knowscape.com
-----------------------------------------------------------------------
Sex is not the answer.  Sex is the question.  "Yes" is the answer.

Reply via email to