list4xt : Mailing list for the XT users community.[list4xt] Re: Extensions to XTSubject: [list4xt] Re: Extensions to XTUser: Website From: Paul Tchistopolskii (pault12@pacbell.net)Date: 23/06/2000 - 11:01
> # Working on next version of UX I have to re-engeneer detailes of how
First about my problem.
UX work is a sandbox, so "/tmp/file.xml" should be actually mapped
So I wanted to capture the moment when <xt:document
But first I found that when invoking <xt:document in servlet
The solution was just to provide HackedServledDestination:
XSLProcessorImpl xsl ....
OutputMethodHandlerImpl outputMethodHandler = new OutputMethodHandlerImpl(xsl);
public class HackedServletDestination extends com.jclark.xsl.sax.GenericDestination {
}
So, actually I have not spend too much time with xt:document itself, but
Basic XT dataflow appears to be ( talking about OM ):
1. Create 'Result'
If making a breakpoint at DocumentAction.invoke() - the execution stack is clear.
DocumentAction is responsible for processing <xt:document . Even the processing
To add the new extension element, steps could be:
1. Create Parser for your element. ( see
class SheetImpl implements SheetDetails, LoadContext {
private
The purpose of this Parser will be to 'translate' the
Actually, I think that because there are many other
SheetImpl constructor does it.
actionTable.put(xt("document"), new DocumentParser());
3. Implement your own action for new element:
class DocumentAction implements Action {
I think that implementing 'invoke' is the only thing needed
I'm sorry if what I say above is trivial or misleading. Unfortunately,
Rgds.Paul.
-- Mailing list for the XT users community. (http://powhatantravel.com) (mailto:list4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)
Archive générée par hypermail 2b28 le 06/11/2001 - 11:46 CET |