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 John Gentilin <ge...@eyecatching.com> on 2004/08/23 19:50:14 UTC
Why QNAME for ???
I need to call a set of templates based on a variable name, is there
a mechanism in Xalan to work around this limitation ??
i.e.
<xsl:variable name="t">myTemplate</xsl:variable>
<xsl:call-template name="$t" />
Thanks
John G
Xalan-J : Transformation chaining question.
Posted by "Edward L. Knoll" <ed...@cosd.fedex.com>.
We are chaining some XSL transformations together with the primary goal
of serializing an intermediate (XML) product to a file to optimize
optional/future processing. I've looked at the Pipe and UseXMLFilters
examples, however, I don't see how I can split/copy the output of an
intermediate stage, so I can both (a) serialize it to a file and (b)
performance an additional transformation on it.
I've tried using DOMSource and DOMResult classes, but I haven't figured
out how to turn a DOMResult into a DOMSource (if that's even doable).
Does anyone have recommendations/experience regarding whether this can
be accomplished and, if so, how?
Thanks,
Ed Knoll
--
Edward L. Knoll Phone (FedEx) : (719)484-2717
e-mail (FedEx) : edward.knoll@fedex.com
e-mail (personal) : edward@elknoll.com
Re: Where are "properties" documented?
Posted by Advent Information Systems <a-...@ihug.co.nz>.
At 8:08 -0600 27/08/04, Edward L. Knoll wrote:
>Which binary distribution? I'm looking in a /opt/xalan-j_2_6_0/....
>installation directory and find no "features.html" file anywhere.
Good point! I was looking at xalan-j_2_4_1; I see that xalan-j_2_5_2
also has it, but that xalan-j_2_6_0 does not. Very strange. The 3
documented TransformerFactory.setAttribute() attributes appear to be
the same in all these releases, so maybe you can have a look at one
of the old release docs.
>Thanks,
>Ed Knoll
>
>Advent Information Systems wrote:
>
>>At 13:45 -0600 25/08/04, Edward L. Knoll wrote:
>>
>>>Different classes in the Xalan-J javadoc reference properties that
>>>can be used to modify class behavior. Are these documented
>>>anywhere?
>>
>>
>>In the binary distribution, see docs/features.html
>
>
--
AA III SSS | Advent Information Systems Ltd.
A A I S |
AAAA I SS | Richard Grossman, Systems Architect
A A I S |
A A III SSS | e-mail: <A-...@ihug.co.nz>
Re: Where are "properties" documented?
Posted by "Edward L. Knoll" <ed...@cosd.fedex.com>.
Which binary distribution? I'm looking in a /opt/xalan-j_2_6_0/....
installation directory and find no "features.html" file anywhere.
Thanks,
Ed Knoll
Advent Information Systems wrote:
> At 13:45 -0600 25/08/04, Edward L. Knoll wrote:
>
>> Different classes in the Xalan-J javadoc reference properties that
>> can be used to modify class behavior. Are these documented anywhere?
>
>
> In the binary distribution, see docs/features.html
--
Edward L. Knoll Phone (FedEx) : (719)484-2717
e-mail (FedEx) : edward.knoll@fedex.com
e-mail (personal) : edward@elknoll.com
Re: Where are "properties" documented?
Posted by Advent Information Systems <a-...@ihug.co.nz>.
At 13:45 -0600 25/08/04, Edward L. Knoll wrote:
>Different classes in the Xalan-J javadoc reference properties that
>can be used to modify class behavior. Are these documented
>anywhere?
In the binary distribution, see docs/features.html
>--
>Edward L. Knoll Phone (FedEx) : (719)484-2717
> e-mail (FedEx) : edward.knoll@fedex.com
> e-mail (personal) : edward@elknoll.com
--
AA III SSS Advent Information Systems Ltd.
A A I S
AAAA I SS Richard Grossman, Systems Architect
A A I S
A A III SSS e-mail: <A-...@ihug.co.nz>
Where are "properties" documented?
Posted by "Edward L. Knoll" <ed...@cosd.fedex.com>.
Different classes in the Xalan-J javadoc reference properties that can
be used to modify class behavior. Are these documented anywhere?
--
Edward L. Knoll Phone (FedEx) : (719)484-2717
e-mail (FedEx) : edward.knoll@fedex.com
e-mail (personal) : edward@elknoll.com
Re: EXSLT format-date usage question.
Posted by "Edward L. Knoll" <ed...@cosd.fedex.com>.
This turned out to be a JDK 1.4 issue. The JDK 1.4 seems to have
something hardcoded such that it runs Xalan-J 2.2.D11 regardless of
what's in the CLASSPATH. The Xalan-J FAQ contains information for
resolving this problem under the heading: "Issues running Xalan-Java on
JDK 1.4 <http://xml.apache.org/xalan-j/faq.html#faq-N100CC>".
Edward L. Knoll wrote:
> I'm trying to use date:format-date in a XSL style sheet being
> processed by org.apache.xalan.xslt.Process. I can use it as either a
> template or as a function, but I can't seem to get either form to
> work; basically I keep getting "could not find method" kinds of
> errors. I've found a little bit of documentation at
> http://xml.apache.org/xalan-j, but there's either something I'm
> missing or overlooking. My guess is that
> (a) something is missing from my CLASSPATH,
> (b) I'm missing an argument I should be passing to
> org.apache.xalan.xslt.Process, or
> (c) I need to be using a different namespace definition other than the
> one I'm using.
>
> Could someone point to some documentation or provide me with an example?
>
> Thanks,
> Ed Knoll
>
--
Edward L. Knoll Phone (FedEx) : (719)484-2717
e-mail (FedEx) : edward.knoll@fedex.com
e-mail (personal) : edward@elknoll.com
EXSLT format-date usage question.
Posted by "Edward L. Knoll" <ed...@cosd.fedex.com>.
I'm trying to use date:format-date in a XSL style sheet being processed
by org.apache.xalan.xslt.Process. I can use it as either a template or
as a function, but I can't seem to get either form to work; basically I
keep getting "could not find method" kinds of errors. I've found a
little bit of documentation at http://xml.apache.org/xalan-j, but
there's either something I'm missing or overlooking. My guess is that
(a) something is missing from my CLASSPATH,
(b) I'm missing an argument I should be passing to
org.apache.xalan.xslt.Process, or
(c) I need to be using a different namespace definition other than the
one I'm using.
Could someone point to some documentation or provide me with an example?
Thanks,
Ed Knoll
--
Edward L. Knoll Phone (FedEx) : (719)484-2717
e-mail (FedEx) : edward.knoll@fedex.com
e-mail (personal) : edward@elknoll.com