I wanted to use XPath 2.0's upper-case(BookTitle) function instead of it's
equivalent in XPath 1.0 :
translate(BookTitle,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')
function
When I transformed the xml with xslt like this it didn't wo
Schneider [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 07, 2004 2:31 PM
> To: Tag Libraries Users List
> Subject: RE: XSLT question
>
>
> The type of the scoped varible named by the "var" attribute of
> is String. Since String is also an acceptable type
Okay, here's a contrived example of what I'm talking about. All the XML and XSLT
data is embedded in the JSP, but it's sufficient as a demo.
<%@ page contentType="text/xml" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
Thanks, Kris.
That works. I had all of that except for I was using var instead of
varDom.
Chris
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 2:31 PM
To: Tag Libraries Users List
Subject: RE: XSLT question
The type of the scoped
esolver in place...This would overide
any default resolution behavior of the underlying implementation.
-Mark
Kris Schneider wrote:
The type of the scoped varible named by the "var" attribute of is
String. Since String is also an acceptable type for both the "doc" and "
The type of the scoped varible named by the "var" attribute of is
String. Since String is also an acceptable type for both the "doc" and "xslt"
attributes of , you should be able to do:
As for the HTTP error, the handling of the URI passed to the document functi
com:9081/rtdui/WebUI?action=getStationStatus
-Original Message-
From: Mark R. Diggory [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 12:52 PM
To: Tag Libraries Users List
Subject: Re: XSLT question
Try just:
I speculate that the c:import stores the content in a byte
rm, I want to access something like:
http://host.name.com:port/context/servlet?param=value
I'm running tomcat 5.0.19 and JSTL 1.1
-Original Message-
From: Mark R. Diggory [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 12:29 PM
To: Tag Libraries Users List
Subject: Re
--
From: Mark R. Diggory [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 12:29 PM
To: Tag Libraries Users List
Subject: Re: XSLT question
Johnson, Chris wrote:
>I guess what I really want is an answer as to why document() isn't
>working as it seems it should.
>
>
uldn't really because most transformers use a different object tree
than DOM which the x:parse is producing.
If I do a 2nd transform on the 2nd doc, how do I reference that in the
first transform?
Did you try adding the xlstSystemId? this sets the systemId of the xslt
and allows the document fun
Diggory [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 12:04 PM
To: Tag Libraries Users List
Subject: Re: XSLT question
Try setting the systemId for the stylesheet, this may help configure the
proper resolution.
-Mark
Kris Schneider wrote:
>As an alternativ
Try setting the systemId for the stylesheet, this may help configure the
proper resolution.
-Mark
Kris Schneider wrote:
As an alternative, perhaps you can use an XSLT parameter to hold the servlet
output:
Where your stylesheet would include an element
As an alternative, perhaps you can use an XSLT parameter to hold the servlet
output:
Where your stylesheet would include an element:
Haven't tried this with a full-blown document as a parameter before...
Quoting "Johnson, Chris" <[EMAIL PROTECTED]>:
> I
I'm having trouble using the XSLT document() function.
What I need to do is to call a servlet which will send back some dynamic
xml that I need to reference in my XSLT template.
I've tried using various relative paths, and the full (http://...) path
with no luck. When I use the fu
> > --- Kris Schneider <[EMAIL PROTECTED]> wrote:
> >
> >>Until you get to JSP 2.0, you can't use scriptlet
> >>expressions and EL expressions
> >>as attribute values for the same tag. In other
> >>words, you can't use "${...}"
&
x27;t use scriptlet
expressions and EL expressions
as attribute values for the same tag. In other
words, you can't use "${...}"
and "<%=...%>" for attribute values in the same tag.
That's why JSTL 1.0 comes
with two flavors of each of its taglibs: EL-based
P 2.0, you can't use scriptlet
> > expressions and EL expressions
> > as attribute values for the same tag. In other
> > words, you can't use "${...}"
> > and "<%=...%>" for attribute values in the same tag.
> > That's why J
es in the same tag.
> That's why JSTL 1.0 comes
> with two flavors of each of its taglibs: EL-based
> and RT-based.
>
> Quoting "MARU, SOHIL (SBCSI)" <[EMAIL PROTECTED]>:
>
> > Try changing the name of
> url="/includes/xslt/sortablegrid.xslt" to
&g
s of each of its taglibs: EL-based and RT-based.
Quoting "MARU, SOHIL (SBCSI)" <[EMAIL PROTECTED]>:
> Try changing the name of url="/includes/xslt/sortablegrid.xslt" to
> url="/includes/xslt/sortablegrid.xsl"
> The name of the file should not include .x
I suspect you need to determine if your using the EL verison or the RT
version. The RT verison does not support ${} expression syntax, maybe
try <%=page.getAttribute("xslt")%> instead and see if it still doesn't work.
Thomas McDonald wrote:
Nope, didn't work. than
Try doing this
<%=objXML.getXml().toString().trim()%>
-Original Message-
From: Thomas McDonald [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 3:40 PM
To: Tag Libraries Users List
Subject: RE: xslt expression
Nope, didn't work. thanks though.
I h
Nope, didn't work. thanks though.
I have a funny feeling this has something to do with
either the web.xml file and or the .tld file
--- "MARU, SOHIL (SBCSI)" <[EMAIL PROTECTED]> wrote:
> Try changing the name of
> url="/includes/xslt/sortablegrid.xslt" to
&
Try changing the name of url="/includes/xslt/sortablegrid.xslt" to
url="/includes/xslt/sortablegrid.xsl"
The name of the file should not include .xslt but should be .xsl
-Original Message-
From: Thomas McDonald [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 200
FYI, I excluded all the objXML stuff for the purposes
of brevity. It works fine. It is the 'transform'
standard tag that is killing me.
--- Thomas McDonald <[EMAIL PROTECTED]> wrote:
> I keep getting the error "According to TLD or
> attribute directive in tag file
I keep getting the error "According to TLD or
attribute directive in tag file, attribute xslt does
not accept any expressions"
"doesn't accept expressions??!!" That seems
absolutely crazy to me. Does it really want me to
type in a whole xsl document? I have to delive
Hi,
I have just started exploring JSTL and am currently setting up my
environment. What do I need to do in order to use saxon rather than xalan
as my xslt processor when using ? Is it just a matter of
replacing the xalan.jar with saxon.jar in the WEB-INF/lib directory?
Thanks for any advice
low to perform a transformation on the server
side. Some browsers (eg Mozilla, IE 6) can perform XSLT transformation
what
allow to send them directly the xml data and the xslt. My idea would
be to
perform the transformation on the server side only when the client
can't do
it.
Marc.
-
browsers (eg Mozilla, IE 6) can perform XSLT transformation what
allow to send them directly the xml data and the xslt. My idea would be to
perform the transformation on the server side only when the client can't do
it.
Marc.
- Original Message -
From: "Paul Campbell" &l
browsers (eg Mozilla, IE 6) can perform XSLT transformation what
allow to send them directly the xml data and the xslt. My idea would be to
perform the transformation on the server side only when the client can't do
it.
Marc.
- Original Message -
From: "Paul Campbell" &l
browsers (eg Mozilla, IE 6) can perform XSLT transformation what
allow to send them directly the xml data and the xslt. My idea would be to
perform the transformation on the server side only when the client can't do
it.
Marc.
- Original Message -
From: "Paul Campbell" &l
(eg Mozilla, IE 6) can perform XSLT transformation what
allow to send them directly the xml data and the xslt. My idea would be to
perform the transformation on the server side only when the client can't do
it.
Marc.
- Original Message -
From: "Paul Campbell" <[EMAIL PROT
[I apologize if this email appears many times but my previous posts through
the newsgroups view of this mailing list on news.gmane.org seems to have
failed]
As far as I know the JSTL allow to perform a transformation on the server
side. Some browsers (eg Mozilla, IE 6) can perform XSLT
owing to
>perform transparently xslt transformation on the server side or to send the
>xml and xslt data to the client browser if it has been recognized that this
>one can perform xslt transformation.
>
>Marc.
>
>
>
>
>
>--
>To unsubscribe, e-mail: <mailto:[EMAIL PROT
Hi,
I wonder if someone has already implemented a tag library allowing to
perform transparently xslt transformation on the server side or to send the
xml and xslt data to the client browser if it has been recognized that this
one can perform xslt transformation.
Marc.
--
To unsubscribe, e
Thank you, Hans.
Inspired by your reply, I got the following JSP code. It worked!
-
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/x.tld" prefix="x" %>
raw Model
<%@ page import="java.io.StringWriter" %
[EMAIL PROTECTED] wrote:
Hi, I am wondering how to use JSTL XML tag with "result"
attribute.
I am using the jakarta-taglibs/standard-1.0.2 with Tomcat 4.1.3 on
Windows2000.
I have a String variable "${pipeline_final_output_String}" within the
request scope in which a XML document is contained.
Hi, I am wondering how to use JSTL XML tag with "result"
attribute.
I am using the jakarta-taglibs/standard-1.0.2 with Tomcat 4.1.3 on
Windows2000.
I have a String variable "${pipeline_final_output_String}" within the
request scope in which a XML document is contained.
I needed to transform th
On Tue, 16 Jul 2002, Hartmut Bernecker wrote:
> I used to take struts-tags for doing some XSL-Transformations:
> xsl="xsl/myXslTemplates.xsl"/>
>
> Now I want to switch to JSTL and want to do the same:
>
>
>
> But the result is:
> javax.servlet.ServletException:
> javax.xml.transform.Transfo
Hello,
I used to take struts-tags for doing some XSL-Transformations:
Now I want to switch to JSTL and want to do the same:
But the result is:
javax.servlet.ServletException:
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException: org.xml.sax.SAXParse
s Users List
> Subject: RE: JSTL + XSLT
>
>
> On Fri, 12 Jul 2002, Manfred Riem wrote:
>
> > I actually am doing that. See var="xsl" and later
> xslt="${xsl}"? And
> > the error stays the Same.
>
> Hmm - I think I actually misread your or
On Fri, 12 Jul 2002, Manfred Riem wrote:
> I actually am doing that. See var="xsl" and later xslt="${xsl}"? And
> the error stays the Same.
Hmm - I think I actually misread your original code. Sorry about that.
I've taken a closer look and tried to correlate yo
Mmm,
I actually am doing that. See var="xsl" and
later xslt="${xsl}"? And the error stays the
Same.
Or do you mean I should do ?
Manfred.
> -Original Message-
> From: Shawn Bayern [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 12, 2002 8:38 AM
>
On Fri, 12 Jul 2002 [EMAIL PROTECTED] wrote:
> url="style/default/chapter_content.xsl"/>
>
>
> xsltSystemId="style/default/chapter_content.xsl"/>
The problem is just that these variables don't match. exposes a
variable called 'xsl',
nt: Friday, July 12, 2002 7:16 AM
> To: Manfred Riem
> Cc: 'Tag Libraries Users List'
> Subject: RE: JSTL + XSLT
>
>
> On Fri, 12 Jul 2002, Manfred Riem wrote:
>
> > I've tried a couple of times and I don't seem to get it
> working with
>
On Fri, 12 Jul 2002, Manfred Riem wrote:
> I've tried a couple of times and I don't seem to get it working with
> the x:transform tag. Should it be url="...S..." or
> xsltSystemId="S..." ?
Oops - sorry! (Jeez, you really get used to copy editors.) Yes, it's
'url' in and 'xsltSystemId' in
more.
Manfred.
> -Original Message-
> From: Shawn Bayern [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 12, 2002 6:27 AM
> To: Tag Libraries Users List
> Cc: [EMAIL PROTECTED]
> Subject: RE: JSTL + XSLT
>
>
> On Fri, 12 Jul 2002 [EMAIL PROTECTED] wrote:
>
On Fri, 12 Jul 2002 [EMAIL PROTECTED] wrote:
> Thanx for the prompt reply. Anyway, I've got it to work like a charm
> with one base stylesheet. However it seems to fail when I use an
> xsl:import in the stylesheet. Is this supported?
Yes, should work. Depending on where your stylesheet comes
f
nfred Riem.
> > I've got a question about the XSLT stuff available in JSTL.
> > I want to be able to do the following thing.
> >
> > 1. Load the XML document from a specific URL
> > 2. Load the XSL document from a specific URL
> > 3. Add runtime
Hi.
> 1. Load the XML document from a specific URL
> 2. Load the XSL document from a specific URL
> 3. Add runtime parameters to the transformation
> 4. Do the transformation.
> In the examples I've seen 1,2 and 4 done, but not 3.
> Is it at all possible? Or is this for a future version
> of the
On Mon, 8 Jul 2002, Manfred Riem wrote:
> Hi there,
>
> I've got a question about the XSLT stuff available in JSTL.
> I want to be able to do the following thing.
>
> 1. Load the XML document from a specific URL
> 2. Load the XSL document from a specific URL
> 3.
Hi there,
I've got a question about the XSLT stuff available in JSTL.
I want to be able to do the following thing.
1. Load the XML document from a specific URL
2. Load the XSL document from a specific URL
3. Add runtime parameters to the transformation
4. Do the transformation.
In the exa
ow
> reference them both from within the XSL file.
Yes. We allow you to pass a system ID for the XSLT document for precisely
this purpose, using the xsltSystemId attribute for . The
system ID should be, in this case, a URL identifying the base page against
which the document() functio
Does anyone know how to use the document() function with the JSTL
XML tags? Is it even possible?
If I have two XML files in memory but need them both for a given
transform, it would be nice to be able to merge them or somehow
reference them both from within the XSL file.
For example:
In t
do it?
regards,
mingfai
> -Original Message-
> From: Ming Fai [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 30, 2002 6:28 PM
> To: [EMAIL PROTECTED]
> Subject: xslt transform tag
>
>
> i'm new to JSTL, and just tried the transform tag. And I got a question.
&
i'm new to JSTL, and just tried the transform tag. And I got a question.
The default path of xmlUrl is not webapps/, but the bin/ directory of Tomcat
(I use tomcat 4.03). It is suggested in an old post (From: Stefan Kost,
Date: Mon, 22 Oct 2001 02:28:37) that user.dir can be reset to webapps path
Huh? XTags doesn't use JavaScript.
Are you trying to do client side and server side XSLT? Maybe you need one
stylesheet for IE and one stylesheet for the rest of the world.
James
- Original Message -
From: "praveen kumar k" <[EMAIL PROTECTED]>
To: "Tag Lib
If I use the new XSL tag then it's giving Javascript error when I see it using parser
but it's not showing any error when I use IE without parsing(serverside parser). So,
what will be the problem?
ThanX
On Sun, 09 Dec 2001 James Strachan wrote :
> You're using a very ol
You're using a very old stylesheet. XSLT has been a recommendation for over
2 years now, the correct namespace is now...
http://www.w3.org/1999/XSL/Transform";>
James
- Original Message -
From: "praveen kumar k" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECT
Hi All,
I'ld like to parse the style sheet which is developed acording to Internet
Explorer which is having XSL tag http://www.w3.org/TR/WD-xsl";> is giving the following error:
javax.servlet.ServletException: stylesheet requires attribute: version; Missing or
i
59 matches
Mail list logo