FW: [jdom-interest] suggestion
chris markiewicz
cmarkiew at commnav.com
Mon Feb 12 07:25:11 PST 2001
hello
i have "upgraded" from xalan 1 to xalan 2 - and i would like to try a SAX
implementation to compare performance (until now i have been using the
DOMOutputter etc etc). can someone please tell me what the next step is? i
am currently using jdom b4...
thanks
chris
-----Original Message-----
From: Kesav Kumar [mailto:kesavk at voquette.com]
Sent: Thursday, February 08, 2001 8:05 PM
To: 'cmarkiew at commnav.com'
Subject: RE: [jdom-interest] suggestion
xalan1 doesn't support SAX2 version and JDOM's SAXOutputter doesn't have
support for SAX1 version. The easy soultion is to switch from xalan1 to
xalan2. Otherwise you need to write a kind of Proxy class which can covert
SAX2 calls to SAX1. I personally never tried to write the conversion but
you could probably use JDK1.3 proxy class for doing this.
Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:kesavk at voquette.com
http://www.voquette.com
-----Original Message-----
From: chris markiewicz [mailto:cmarkiew at commnav.com]
Sent: Thursday, February 08, 2001 10:44 AM
To: 'Kesav Kumar'; 'JDOM list (E-mail)'
Subject: RE: [jdom-interest] suggestion
hello.
i have seen several references like the one below...using sax instead of dom
as an input to the xslt. however it is not clear to me how to do this
(after reading the api). can someone give me a hint or point to an example?
note that i am still using xalan 1.
thanks
chris
-----Original Message-----
From: jdom-interest-admin at jdom.org
[mailto:jdom-interest-admin at jdom.org]On Behalf Of Kesav Kumar
Sent: Monday, February 05, 2001 4:23 PM
To: JDOM list (E-mail)
Subject: RE: [jdom-interest] suggestion
You can use SAXOutputter to generate SAX events and I guess you can
associate your XSLT parser to accept the SAXinput events. This is quite
efficient.
Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:kesavk at voquette.com
http://www.voquette.com
Dmitri Ilyin wrote:
>
> But I have to produce input for XSLT processor.
> How can I do that??
>
> > -----Original Message-----
> > From: Jason Hunter [mailto:jhunter at collab.net]
> > Sent: Monday, February 05, 2001 6:26 PM
> > To: Dmitri Ilyin
> > Cc: JDOM list (E-mail)
> > Subject: Re: [jdom-interest] suggestion
> >
> >
> > > The problem, that I have, is
> > > Document and Element.
> > >
> > > Both declared in org.w3c.dom and org.jdom. I have to reference the
> > > full package path each time I want to use one of them.
> > >
> > > Why don't to rename Document to JDocument and Element to JElement???
> >
> > Because you use one or the other. If you're using JDOM, you can stop
> > using DOM.
> >
> > -jh-
> >
> _______________________________________________
> To control your jdom-interest membership:
>
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
More information about the jdom-interest
mailing list