XSLT question

2004-04-07 Thread Johnson, Chris
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 full path, I

Re: XSLT question

2004-04-07 Thread Kris Schneider
As an alternative, perhaps you can use an XSLT parameter to hold the servlet output: c:import url=/xmlServlet var=servletXml/ x:parse xml=${servletXml} var=servletDoc/ x:transform xml=${xml} xslt=${xslt} x:param name=dynamicXml value=${servletDoc}/ /x:transform Where your stylesheet would

Re: XSLT question

2004-04-07 Thread Mark R. Diggory
Try setting the systemId for the stylesheet, this may help configure the proper resolution. c:import var=xslt scope=request url='${url}'/ x:transform xml=${xml} xslt=${xslt} xsltSystemId=${url} -Mark Kris Schneider wrote: As an alternative, perhaps you can use an XSLT

RE: XSLT question

2004-04-07 Thread Johnson, Chris
: 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. c:import var=xslt scope=request url='${url}'/ x:transform xml=${xml} xslt=${xslt} xsltSystemId

Re: XSLT question

2004-04-07 Thread Mark R. Diggory
To: Tag Libraries Users List Subject: Re: XSLT question Try setting the systemId for the stylesheet, this may help configure the proper resolution. c:import var=xslt scope=request url='${url}'/ x:transform xml=${xml} xslt=${xslt} xsltSystemId=${url} -Mark Kris Schneider

RE: XSLT question

2004-04-07 Thread Johnson, Chris
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: XSLT question Johnson

Re: XSLT question

2004-04-07 Thread Mark R. Diggory
, 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. Mostly, I think the unexpected behavior has to do with the standard implementations masking

RE: XSLT question

2004-04-07 Thread Johnson, Chris
?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: c:import url=uiConfig.xml var=config/ x:parse var=xml doc=${config}/ c:import url

RE: XSLT question

2004-04-07 Thread Kris Schneider
. Diggory [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 12:52 PM To: Tag Libraries Users List Subject: Re: XSLT question Try just: c:import url=uiConfig.xml var=config/ x:parse var=xml doc=${config}/ c:import url=station_list.xsl var=stylesheet/ x:transform doc=${xml} xslt

Re: XSLT question

2004-04-07 Thread Mark R. Diggory
://raptor.mtc.ti.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: c:import url=uiConfig.xml var=config/ x:parse var=xml doc

RE: XSLT question

2004-04-07 Thread Johnson, Chris
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

RE: XSLT question

2004-04-07 Thread Kris Schneider
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: c:import url=uiConfig.xml var=config/ x:parse var=xml doc=${config}/ c:import url=station_list.xsl var

RE: XSLT question

2004-04-07 Thread Kris Schneider
, 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 c:import is String. Since String is also an acceptable type for both the doc and xslt attributes of x:transform, you should be able to do: c:import var=doc

JSTL XSLT question

2002-04-30 Thread Brian J. Sletten
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: