Try this..

<xtags:style xsl="file:///C:/dev/theXsl.xsl" xmlSource="<%= source %>" />

and it should work.

James

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 01, 2001 3:32 PM
Subject: xtags: supplying xml as Source, Reader etc


> I've been looking into using xtags for xslt transformations and initial
> thoughts look good. One question I can't fathom out at present is how to
> supply the xml (or xsl) as anything other than a url or a string. If, for
> instance I already have the xml available in the page as a
> javax.xml.transform.Source it seems pretty dumb to serialize it to a
string,
> only for xalan to have to build it back into dom/sax.
>
> There appear to be attributes for the xtags:style tag for xmlSource,
> xmlReader etc, but I can't figure out how to use these. Something like
this
> (oversimplistic example) seems right, but isn't:
>
>
> <%! javax.xml.transform.Source source; %>
>
> <%
> source =
> new javax.xml.transform.stream.StreamSource("file:///C:/tmp/theXml.xml");
> %>
>
> <xtags:style xsl="file:///C:/dev/theXsl.xsl"
>         xmlSource="source"
> />
>
> I guess this is pretty basic stuff, but then so is my usage of Jsp and
> taglibs! Any advice would be greatly appreciated.
>
> Thanks
>
> Tim
>
> --------------------------------------------------------
> Tim Dudgeon <[EMAIL PROTECTED]>
>
>
>
> --------------------------------------------------
> DISCLAIMER: This message contains proprietary
> information some or all of which may be
> confidential and/or legally privileged. It is for
> the intended recipient only who may use and apply
> the information only for the intended purpose.
> Internet communications are not secure and
> therefore the British Biotech group does not
> accept legal responsibility for the contents of
> this message. Any views or opinions presented are
> only those of the author and not those of the
> British Biotech group. If you are not the intended
> recipient please delete this e-mail and notify the
> author immediately by calling ++44 (0)1865 748747;
> do not use, disclose, distribute, copy, print or
> rely on this e-mail.
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to