If you are in the Java world, the Filters looks to provide the mechanism
you want. http://java.sun.com/products/servlet/Filters.html
I'm just reading it now, but one of the uses for filters is " XSL/T
transformations of XML content-Targeting web application responses to
more that one type of client".
Ralph
> -----Original Message-----
> From: SRU (Search and Retrieve Via URL) Implementors
[mailto:[log in to unmask]]
> On Behalf Of Ashley Sanders
> Sent: Wednesday, April 26, 2006 7:37 AM
> To: [log in to unmask]
> Subject: Re: SRU Question re XML Processing
>
> Ray,
>
> > You're mixing schema of response with schema of records. You
certainly
> > could returns records in XHTML, but you can't return the response in
> XHTML
> > (and be SRU conformant.)
>
> Quite right. I think my brain must have gone awol yesterday.
>
> I was looking at XHTML Modularization the other day:
>
> http://www.w3.org/TR/xhtml-modularization/
>
> and was wondering if this does offer a way for a protocol
> such as SRU to return a response as XHTML? A quote
> from the page at the above url:
>
> "Modularization also allows for the extension of XHTML's layout and
> presentation capabilities, using the extensibility of XML, without
> breaking the XHTML standard. This development path provides a stable,
> useful, and implementable framework for content developers and
> publishers to manage the rapid pace of technological change on the
Web."
>
> Another quote from elsewhere:
>
> "Add extensions to XHTML, using XML, without breaking the XHTML
> standard."
>
> Which sounds to me like you can return something as XHTML and
> include in it all the extra info needed to maintain the
> SRU protocol and without clients having to screen scrape to get
> at the data. Though I guess the result would be a radically
> different protocol, unless XHTML Modularization is SOAP
> compatible?
>
> Does anyone know much about XHTML Modularization? Could this allow
> the development of a protocol that can satisfy both a human and
> machine user?
>
> Ashley.
> --
> Ashley Sanders [log in to unmask]
> Copac http://copac.ac.uk A MIMAS Service funded by JISC
|