You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Gary L Peskin <ga...@firstech.com> on 2001/09/24 23:10:50 UTC
RE: XSLT Processing of a node...twice
TransformerHandlerImpl implements ContentHandler and it gets set as the
ContentHandler of an XMLFilter somewhere. I'm just not exactly sure
where at the moment. I meant to look at the actual type rather than the
declared type. Also, I'd like to take this discussion over to the
xalan-j-users list since that is where it really belongs.
Gary
> -----Original Message-----
> From: Dean H. Saxe [mailto:dean@fullfrontalnerdity.com]
> Sent: Monday, September 24, 2001 1:55 PM
> To: general@xml.apache.org
> Subject: RE: XSLT Processing of a node...twice
>
>
> At 01:47 PM 9/24/01 -0700, you wrote:
> >I'm not sure how you're setting this up because I haven't
> seen the code
> >but try
> >
> > myXmlFilter.getContentHandler();
> >
> >and see what type that is.
>
> Gary,
>
> I'm just mucking around with the Xalan examples on XMLFilter.
> I'm not sure
> what you mean by "see what type it is...", the method returns a
> ContentHandler, do XMLFilters implement transformers as XMLFilters?
>
> -dhs
>
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail: webmaster@xml.apache.org
> To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
>
RE: XSLT Processing of a node...twice
Posted by "Dean H. Saxe" <de...@fullfrontalnerdity.com>.
Let me just say a oops... this was meant for Xalan-J....
-dhs
---------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org
RE: XSLT Processing of a node...twice
Posted by "Dean H. Saxe" <de...@fullfrontalnerdity.com>.
At 02:10 PM 9/24/01 -0700, you wrote:
>TransformerHandlerImpl implements ContentHandler and it gets set as the
>ContentHandler of an XMLFilter somewhere. I'm just not exactly sure
>where at the moment. I meant to look at the actual type rather than the
>declared type. Also, I'd like to take this discussion over to the
>xalan-j-users list since that is where it really belongs.
>
>Gary
Gary,
Good plan moving this to the Xalan list... I just found it yesterday.
Anyway, to recap for those who missed out, I am trying to process a node
twice, in succession. Gary suggested using XMLFilter classes and pulling
the XML document through multiple sequential filters. My only problem is
that I need to dynamically set properties in the stylesheet at
runtime. Normally I would use: transformer.setParameter("foo",
"bar"); However, in the XMLFilter classes there appears to be no method to
set parameters on the transformer contained within the XMLFilter. =-(
Another question is what other stylesheet processors support the use of
XMLFilters. I need to be able to use this technology with multiple
different XSL processors, just in case someone decides that a different
processor is "better" for whatever reason.
-dhs
---------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org