words (RE: extensibility in XSchema?)
peter at ursus.demon.co.uk
Thu Jun 25 06:21:07 BST 1998
At 10:27 23/06/98 -0400, Paul Prescod wrote:
>On Mon, 22 Jun 1998, Peter Murray-Rust wrote:
>> This would be exactly what I want to do. I have asked if we can have Java
>> classes in XSL instead of rendering on paper. So far this doesn't seem
>> possible. I shall keep asking :-)
>You've asked for Java classes, but you haven't said what you want the
>Java classes to do? Should they correspond to an interface with an
>infinite number of methods for everything you might ever want to do with
>an XML document?
Paul is right - of course. And I have mentioned some possible methods on
this list before.
>XSL works because it has a single task: rendering (not necessarily on
>paper!). The interfaces between the snippets of XSL code are
>well-defined, because all they are doing is passing around rendered
>document sections. If you want the same for Java classes, then you must
>define what you want those Java classes to do, and define appropriate
>interfaces for them.
If we can define a handle of some sort we can take the discussion of
methods elsewhere. e.g.
<?XDEV MIME="application/java" CLASS="foo.bar.Baz" METHOD="display"?>
I would prefer the PI target to be agreed more widely than XDEV - and
that's probably what I'm asking for.
> Paul Prescod
>xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
>Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
>To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
>To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
>List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev