XSL file include problem.

Hi Friends,
We are facing problem while include our file inside XSL.
we have code like below
<xsl:for-each select="givingLanding/briefPageInclude">
                              <xsl:variable name="pageUrl" select="pageUrl" />
                                   <xsl:choose>
                                        <xsl:when test="not($pageUrl = '') ">
                                             <!-- <xi:include href="{$pageUrl}"/> -->
                                             <xsl:text disable-output-escaping="yes"><#include file="</xsl:text>
                                             <xsl:value-of disable-output-escaping="yes" select="pageUrl" />
                                             <xsl:text disable-output-escaping="yes">"></xsl:text>
                                        </xsl:when>
                                   </xsl:choose>
                         </xsl:for-each>Here we tried two ways two attach file but none of them attach the given file. ( here it will render XSL --> XHTML output)
Can anybody have idea how to include file ? ( in such loop structure)
Thanks

It's a little hard to quess what you're trying to do based on the XSLT you posted.
You can't xsl:include a document whose URL is determined at run time in XSLT. The normal pattern is to generate the stylesheet using XSLT to insert the path, then apply that generated stylesheet.
In XSLT2 you can fetch a document whose URL is determined at run time, and operate on that, if that's what you're trying to do. See the [document function|http://www.w3.org/TR/xslt#document]
XSLT questions are better asked on the [Mulberry XSL list |http://www.mulberrytech.com/xsl/xsl-list/].

Similar Messages

  • Jquery.js and other .js file includes problem

    Hello!
    I have a problem with external .js files.
    If I link them in the <head> field at the page properties section, nothing happens.
    I saw that Muse put it's .js files at the end of the <body> tag. If I open the html file, with notepad, and put my includes manually right after the Muse's <!-- JS Includes --> section my codes are working, but there are error messages in the browser.
    So if my code is above the generated JS Includes they won't work, but after them they are working, but with error message. And If I change something on the site, I have to manually put them there again. That wouldn't be nice.
    How can I Include jquery to make my other .js files, and .css work?
    Hope somebody can help.
    Regards,
    Tom

    Just figured out.
    When activated, the hidden feature inserts into web.config the following:
      <location path="_layouts">
        <system.web>
          <authorization>
            <deny users="?" />
          </authorization>
        </system.web>
      </location>
    The fix:
    Keep the tag inserted, then, add the following
    <location path="_layouts/1046/core.js">
        <system.web>
          <authorization>
                    <allow users="?" />
          </authorization>
        </system.web>
      </location>
    <location path="_layouts/1046/search.js">
        <system.web>
          <authorization>
                    <allow users="?" />
          </authorization>
        </system.web>
      </location>
    <location path="_layouts/1046/NON_IE.JS">
        <system.web>
          <authorization>
                    <allow users="?" />
          </authorization>
        </system.web>
      </location>
    <location path="_layouts/1046/init.js">
        <system.web>
          <authorization>
                    <allow users="?" />
          </authorization>
        </system.web>
      </location>
    Remember to change de "1046" to your specific language.
    Hope it helps you as much as it helped me

  • Process include XSL file

    when use XSLProcessor.processXSL method process a xsl file include another XSL file
    error message:
    Error while processing include XSL file (no protocol: eprice.xsl)

    in the main xsl file i write:
    <xsl:import href="eprice.xsl"/>
    to import a xsl file.
    in the java program XSLTransform.java i write:
    XSLTransform.class.getResourceAsStream("mainxslfile");
    to load the main xsl file.
    null

  • Issue on Web sharing and XSL files

    Hi all,
    What are the things to be taken care while we are doing websharing. I have an issue with one of my xMII projects. Everything is working fine on that server except xsl files. It is not getting transformed into HTML at run time. It is showing in XML format instead. I really doubt the problem is with my web sharing, because the same set of files(<b>including XSL file</b>) are working on a different server without any issue.
    I have done websharing by right clicking on the folder name, selecting the websharing tab and giving Alias name. Is that ok or anything more as to be done?
    Can anyone please trace out the issue.
    Thanks in advance
    Muzammil P.T

    Hi,
    Webroot is still in c:\inetpub\wwwroot, but i set up a new virtual directory to <b>c:\Lighthammer</b> and accessing xMII using the URL http://*...*/Lighthammer
    and my project contects using http://*...*/Lh/CompApps/MyProj/HomePage.html
    (I have given Lh as the Alias name).
    Here, My xMII homepage is working and myProj Homepage is also working fine. Once i calls the HTML pages which contains XSL files, the problem is coming.
    Please Note: The same contents is working on our different server without any change.
    Regards
    Muzammil

  • Problem with import tag in xsl files and include in xsd files

    Hello,
    I've been developing an application using JBoss as server. Then, i created an especific path for xsd and another path for xsl files. In both cases, i created a main file that include (xsd) or import (xsl) the other files. My problem is that i have to specify the exactly path where the imported xsl or the included xsd files are, even though they are in the same path as the main file. What i want to know is how i say that the other xsd and xsl files are in the same path that the main file that is importing them?
    here's an example of my import and include declarations:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:import href="../server/jboss/deploy/application.ear/pack.jar/xsl/transformer1.xsl"/>
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              elementFormDefault="qualified">
         <xsd:include schemaLocation="../server/jboss/deploy/application.ear/pack.jar/xsd/schema1.xsd"/>
    thanks for your help

    yes, thats not the value returned of
    URL url = this.getClass().
                        getResource("/xsl//transformer.xsl");the expression i posted is an string i'm using to test.... but i think it's not incorrect, because if the files i'm trying to open are not in the path, he throws the following exception:
    java.io.FileNotFoundException: C:\cpqd\isp\tools\third-party\jboss\server\jbossISP1\deploy\cpqd-ispeng-EngEJB-3.3.0.0.ear\cpqd-ispinv-ServiceEJB.jar\xsl\isp_transformer_manufacturer.xsl
        at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:80)
        at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:89)
        at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
        at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xalan.processor.ProcessorInclude.parse(ProcessorInclude.java:323)
        at org.apache.xalan.processor.ProcessorInclude.startElement(ProcessorInclude.java:192)
        at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:668)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:972)
        at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:788)
        at br.com.cpqd.oss.isp.service.adapter.FrameworkAdapter.createExternalData(FrameworkAdapter.java:131)
        at br.com.cpqd.oss.isp.service.message.ExternalDataMDBBean.onMessage(ExternalDataMDBBean.java:92)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:458)
        at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
        at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62)
        at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
        at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:284)
        at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:150)
        at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)
        at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
        at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
        at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:372)
        at org.jboss.ejb.Container.invoke(Container.java:709)
        at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:928)
        at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1205)
        at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:276)
        at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904)
        at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:159)
        at org.jboss.mq.SpySession.run(SpySession.java:351)
        at org.jboss.jms.asf.StdServerSession.run0(StdServerSession.java:200)
        at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
        at java.lang.Thread.run(Thread.java:534)and when the files are in the path, he throws the other exception... thats why i think the problem it's not the URL....

  • Problem with substring in xsl file?

    Hallo,
    i have a xsl file, when using
    <xsl:value-of select="StsEdat"/> i've got 2007-05-21, that's o.k.
    when using <xsl:value-of select="substring(StsEdat,9,2)"/> the answer is blank.
    also 0,5 or so on. substring at this position delivers blank. why?
    what can it be? i'am helpless.
    any help is appreciated.

    Hi,
    I used <xsl:value-of select="substring(StartDate,9,2)"/> the answer was 21 and to 0,5 the answer was 2007. It seems that's ok!
    Try to do it and see if you have problem with substring.
    <xsl:variable name="StsEdat">2007-05-21</xsl:variable>
    <xsl:value-of select="substring($StsEdat,9,2)"/>
    or this weird way, :)
    <xsl:variable name="StsEdat">2007-05-21</xsl:variable>
    <xsl:value-of select='substring-after(substring-after($StsEdat, "-"), "-")' />
    Regards,
    Cleiton

  • Include XSL file while using API

    Hello,
    I want to use the include tag to include a XSL Stylesheet to my RTF while using the API
    If I run the report locally I use:
    <?import:file:///C:/temp/htmlmarkup.xsl?>
    If I run the report on APPS I use:
    <?import:xdo://INV.HTMLMARKUP.de.DE?>
    But what do I refer if I am in the context of the APIs? My XSL file is in the java-resource-tree available under:
    com.my.application.bi.resource.style.htmlmarkup.xsl
    But I allways get XML-22002: (Fatal Error) Error while processing include XSL file
    Any hints for me?
    Best Regards
    Alexander

    No, you cannot do this. Using the Acrobat SDK a programmer can combine PDF files using OLE.

  • How can I process an xml/xsl file pair that require the Internet Explorer dom?

    My personal navigation device (GPS) generates xml files that contain a record of where I have been, together with when I was there, how fast I was driving at the time, etc. taken at approx. 5 second intervals. This xml file has an xml-stylesheet with type="text/xsl" but that stylesheet is written to the Internet Explorer dom standard. The stylesheet interfaces with google maps to display a map that shows my path and it also displays tables of data including distances that are computed from latitude/longitude pairs. I can supply a small sample xml file and the xsl file as well if they are needed to diagnose my problem. I cannot find any browser other than Internet Explorer that handles these files satisfactorily. I prefer to process them from a Linux environment but with the Internet Explorer requirement I cannot do so. The browsers that I have tried and that have failed are Firefox, Opera, Konqueror, Chrome, Epiphany, Midori, Arora, and Links.
    One line in the xls file in particular gives grief in the browsers like Firefox that at least attempt to do more than display the raw xml file:
    xmlns:cymath="urn:smiletime-cybarber-net:math"
    A comment in the xls file says this about the problem:
    "Tested and currently only compatible with Internet Explorer version 6 or version 7 (as this script includes JScript functions called by XSL, msxsl:script extension is required; also, the produced XHTML document embeds javascript functions exploiting the IE DOM).
    "In order to provide compatibility with Firefox, other than checking the compatibility of the IE DOM, the cymath:distCosineLaw function still needs to be ported."

    You may get an answer, but it is not really the sort of subject covered by this forum, I suggest you try [http://forums.mozillazine.org/viewforum.php?f=49 Mozilazine] and if you solve the problem post back again.

  • XSL file formatting

    XSL file formatting
    Hi there.
    I have problem with this files xsl, the problem is the output for the field date and number:
    a) `2011-05-13T21:50:00` instead of `13/05/2001 21:50:00`
    b) `.00` instead of `0`This is the output in XML:
    <xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
         <s:Schema id="RowsetSchema">
              <s:ElementType name="row" content="eltOnly" rs:CommandTimeout="30">
                   <s:AttributeType name="myDates" rs:number="6" rs:nullable="true" rs:writeunknown="true">
                        <s:datatype dt:type="dateTime" rs:dbtype="timestamp" dt:maxLength="16" rs:scale="0" rs:precision="19" rs:fixedlength="true"/>
                   </s:AttributeType>
                   <s:AttributeType name="Net" rs:number="29" rs:nullable="true" rs:writeunknown="true">
                        <s:datatype dt:type="number" rs:dbtype="numeric" dt:maxLength="19" rs:scale="2" rs:precision="10" rs:fixedlength="true"/>
                   </s:AttributeType>
                   <s:extends type="rs:rowbase"/>
              </s:ElementType>
         </s:Schema>
         <rs:data>
              <z:row myDates="2011-05-13T21:50:00" Net=".00" />
         </rs:data>
    </xml>This output XML is generate with ASP code and saved in the csv format:
    <!-- #include virtual="/_XML/adovbs.inc" -->
    <%
    filename = "titty.xml"
    Set xmlDoc = CreateObject("MSXML2.DOMDocument.4.0")
    Set xslDoc = CreateObject("MSXML2.DOMDocument.4.0")
    %>
    <%
    sql = "SELECT * FROM tbl_login"
    Set rs = objConn.Execute(sql)
    rs.Save xmlDoc, 1
    xmlDoc.Save Server.MapPath(filename)
    rs.Close
    Set rs = Nothing
    %>
    <%
    Set oDOM = CreateObject("MSXML2.DOMDocument.4.0")
    oDOM.async = False
    oDOM.Load Server.Mappath(filename)
    Set oXSL = CreateObject("MSXML2.DOMDocument.4.0")
    oXSL.async = False
    oXSL.Load Server.Mappath("Trasform_csv.xsl")
    strTransform = oDOM.transformNode(oXSL)
    Set fso = CreateObject("Scripting.FileSystemObject")
    strPath = Server.Mappath("testme.csv")
    Set file = fso.opentextfile(strPath, 2, True)
    file.write strTransform
    file.Close
    Set file = Nothing
    Set fso = Nothing
    Set oDOM = Nothing
    Set oXML = Nothing
    Set oXSL = Nothing
    %>The XSL file:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
    xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
    xmlns:rs="urn:schemas-microsoft-com:rowset"
    xmlns:z="#RowsetSchema">
         <xsl:output omit-xml-declaration="yes"/>
         <xsl:template match="/">
              <!-- show a header by looking Schema element -->
              <xsl:for-each select="/xml/s:Schema/s:ElementType/s:AttributeType">
                   <xsl:value-of select="@name"/>
                   <xsl:choose>
                        <xsl:when test="position()!=last()">
                              <!-- xls -->
                             <xsl:text>     </xsl:text>
                             <!-- csv -->
                             <!--xsl:text>,</xsl:text-->
                        </xsl:when>
                        <xsl:otherwise>
                             <xsl:text>
    </xsl:text>
                        </xsl:otherwise>
                   </xsl:choose>
              </xsl:for-each>
              <!-- row data -->
              <xsl:for-each select="/xml/rs:data/z:row">
          <xsl:variable name="row" select="."/>
          <!-- for each column -->
                   <xsl:for-each select="/xml/s:Schema/s:ElementType/s:AttributeType">
                      <!-- display each column if it exists -->
                     <xsl:variable name="columnName" select="@name"/>
                        <!-- go through all columns and display something that matches-->
                        <xsl:value-of select="$row/@*[name()=$columnName]" />
                        <!--xsl:value-of select="translate($row/@*[name()=$columnName],'.',',')" /-->
                        <xsl:if test="position()!=last()">
                            <!-- xls -->
                             <xsl:text>     </xsl:text>
                             <!-- csv -->
                             <!--xsl:text>,</xsl:text-->
                        </xsl:if>
             </xsl:for-each>
                   <xsl:text>
    </xsl:text>
           </xsl:for-each>
         </xsl:template>
    </xsl:stylesheet>I need another output in the XML file:
    <z:row myDates="13/05/2001 21:50:00" Net="0.00" />And in the CSV file:
    13/05/2001 21:50:00, 0Can you help me?
    Thanks in advance.
    Cheers
    Edited by: user6317803 on Aug 30, 2011 1:31 PM
    Edited by: user6317803 on Aug 30, 2011 1:34 PM
    Edited by: user6317803 on Aug 30, 2011 1:36 PM

    Thanks for your answer, I use database MySQL.
    This is the solution in the ASP code:
    SELECT DATE_FORMAT(myDates, '%d/%m/%Y %H:%i:%s') myDates
             , REPLACE(NET,'.', ',') NETEdited by: user6317803 on Sep 1, 2011 9:09 AM
    Edited by: user6317803 on Sep 1, 2011 9:12 AM

  • Using multiple XSL files parsing a XML file

    Hi,
    Can a single XML be procesed by a XSL file in which are included many XSL stylesheet?
    I mean, my Java servlet writes the results of the SQL
    queries in a single XML document. Something like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    <body>
    <!-- Part 1 -->
    <record>
    <nombre>Monica</nombre>
    <apellido1>Amann</apellido1>
    <apellido2>Ostos</apellido2>
    </record>
    <!-- Part 2 -->
    <record>
    <domicilio>Rodriguez Arias</domicilio>
    <numero>41</numero>
    <piso>5</piso>
    </record>
    <!-- Part 3 -->
    <record>
    <nombre>Ana</nombre>
    <apellido1>Garcia</apellido1>
    <apellido2>Ostos</apellido2>
    <domicilio>Rodriguez Arias</domicilio>
    <numero>41</numero>
    <piso>5</piso>
    <mano>Decha</mano>
    </record>
    </body>
    I want to be able to apply a particular stylesheet into diferent part of the XML file.
    I mean, i have a XSL (father), in which are included various XSL. My problem is that
    i can apply the bloque1.xsl to process part1 in the xml, and bloque2.xsl to process
    part2 in the xml and the same with the thrid.
    This is my XSL (father), but i don't know whats the way to do it. And i don�t konw if
    it's possible to do it.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:fo="http://www.w3.org/1999/XSL/Format"
    version="1.0">
    <xsl:include href="/aplic/fop/ejemplos/bloque1.xsl" />
    <xsl:include href="/aplic/fop/ejemplos/bloque2.xsl" />
    <xsl:include href="/aplic/fop/ejemplos/bloque3.xsl" />
    <xsl:template match="body">
         <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
              <fo:layout-master-set>
              <fo:simple-page-master master-name="simple"
                   page-height="21cm"
                   page-width="21cm"
                   margin-top="1cm"
                   margin-bottom="1cm"
                   margin-left="1.5cm"
                   margin-right="1.5cm">
                   <fo:region-body margin-top="1.5cm"
                   margin-bottom="1.5cm"/>
              </fo:simple-page-master>
              </fo:layout-master-set>
              <fo:page-sequence master-reference="simple">
              <fo:flow flow-name="xsl-region-body">
              <fo:block text-align="right">
                        <fo:external-graphic src="c:\aplic\fop\ejemplos\barcode.jpeg" width="8.1cm" height="3.7cm"/>
              </fo:block>
                   <xsl:apply-templates/>
              </fo:flow>
              </fo:page-sequence>
         </fo:root>
    </xsl:template>
    <!-- Here i should code the rest of the XSL to join the diferents parts of the XML with its corresponded XSL -->
    </xsl:stylesheet>
    Finally i have to produce a single resultant report into pdf outformat. For this, i am using XSL-FO.
    Thanks a lot, and i'm sorry for my english language.

    The examples of Xalan (check xml.apache.org) do just that.
    Micks

  • How to load xsl-files out of jar-files

    Hi,
    I have included some xsl-files into a jar-file. I can access this files with the following code-snipped if the jar-file is local on my harddisk:
    ClassLoader.getSystemClassLoader().getResource("pcodeliste.xsl").openStream()
    But the problem is that I use this jar-file as a part of a j2ee-application (it's a ear-file). After deploying this ear-file to my application-server (oc4j) I get a null-pointer exception if I call the xsl-file with the code above.
    Can anybody help me how to change this code or how to change the j2ee-application to have access to this files??
    Thank you very much
    Tobias

    Hi Rykk!
    Thanks for the answer, but it does not work since the jar, containing my file is inside an ear.
    Greets,
    Jay

  • JSP include problem

    I am facing problems with the JSP include functionality in my project.
    What I want to do is to include jsp files on the fly i.e depending on the business need I should be able to swap in and out jsps from the main jsp.
    I plan to do this by feeding the file names in a request attribute and then including the files in the order given.
    But on using the jsp:include there is no output generated by the included jsp.
    There is no error either in the log or in the page directly.
    Please help me in finding out what exactly is the issue here.
    the files are index.jsp --> rightRailIncludeFiles.jsp --> dynamically loaded jsps (These may themselves contain other included files)
    index.jsp
    <div id="right" class="testRight">
        <%@ include file="rightRailIncludeFiles.jsp" %>
    </div>
    rightRailIncludeFiles.jsp
    <%
        out.println("<h1>Dyna Include</h1>");
        String fileNames = (String)request.getAttribute("jspFiles");
        String[] fileList = fileNames.split(",");
        out.println("<!-- Files : " + fileNames + " -->");
    %>
    <%
    for(int i=0;i<fileList.length;i++) {
        try {
             out.print("<!-- "+fileList[i]+" -->");
    %>
        <jsp:include page="<%=fileList%>" flush="true"/>
    <%
    } catch(javax.servlet.ServletException e) {
    out.println("<h3 style=\"color:red\"> Error :"+e.getMessage()+"</h3>");
    %>
    *inlude_1.jsp (This file includes another file which has some common code)*<jsp:include page="include/inlude_1.jsp" flush="true">
    <jsp:param name="magicNumberText" value="${request.adMagicNumberText}" />
    <jsp:param name="setType" value="${request.adSetType}" />
    <jsp:param name="width" value="${request.adWidth}" />
    <jsp:param name="height" value="${request.adHeight}" />
    <jsp:param name="adOuterDivClass" value="${request.adOuterDivClass}" />
    </jsp:include>
    Edited by: danbrown on Feb 9, 2009 2:49 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Good morning,
    I am not sure that could be the real problem , but I guess your app server does not like the fact that you broke the try catch in two parts. In any case, you should not do that :) Mixing code and display is very painful for maintenance :)
    Have you tried to remove the jsp:include and see if the output is correctly produced?
    Best Regards
    Edmondo

  • How to link a css file in the xsl file

    Hi
               I would like to know how to include link to my .css file in my .xsl file.
    The scenario here is I want include a background color in my ShowForm.I am trying to do the same using css.
    This is the code snippet in my css file
    .outerbody {
         background-color: B1C1CF;
    This is how I tried to include a link in my xsl file
    <link href="/irj/go/km/docs/Testing/MyNewsDemo/css_test.css" type=text/css rel=stylesheet>

    Hi
              Thanks a lot. It would be very helpful if you send me an example.
    As of now I have found a solution,I would like to share it here.
    I added a link to my css file in xsl:
    <link rel="stylesheet" type="text/css" href="/irj/go/km/docs/Testing/MyNewsDemo/css_test.css">
    </link>
    I replaced the standard class name "body" with my class name "outerbody" specified in the css file.
    <body class="outerbody">
    Edited by: SRIVIDHYA RAGHUNATH on Feb 25, 2009 11:19 AM

  • Loading XSL file in XSL Transforam action at run time

    Hello everyone ,
    I want to use XSL Transforamtion action in weblogic integration and name of
    XSL file should pick at run time from a variable.
    I am using :"com.bea.wlxt.repository" package APIs for connecting to repository &
    get the XSL file from it. Check the following code
    RepositoryURL repURL = new RepositoryURL();
    URL myUrl = repURL.create
    ("wlxt://xslt/4112req-mli0018req-xsl");
    InputStream in = myUrl.openStream();
    This code gives me error that "java.io.IOException:Entity 4112req-mli0018req-xsl"
    not found in repository.
    Where as the file is actually present in the root of the repository. I am not sure
    why I am getting this error. Has somebody done something similar ? I am doing something
    wrong ?
    Any help in this regard is appreciated.
    Thanks in advance
    -Kiran R.

    Hi !
    I'm struggelig with the same problem, did you find any solution ?
    Thanks in advance
    Jon Rustand
    "Kiran Rane" <[email protected]> wrote:
    >
    Hello everyone ,
    I want to use XSL Transforamtion action in weblogic integration
    and name of
    XSL file should pick at run time from a variable.
    I am using :"com.bea.wlxt.repository" package APIs for connecting to
    repository &
    get the XSL file from it. Check the following code
    RepositoryURL repURL = new RepositoryURL();
    URL myUrl = repURL.create
    ("wlxt://xslt/4112req-mli0018req-xsl");
    InputStream in = myUrl.openStream();
    This code gives me error that "java.io.IOException:Entity 4112req-mli0018req-xsl"
    not found in repository.
    Where as the file is actually present in the root of the repository.
    I am not sure
    why I am getting this error. Has somebody done something similar ? I
    am doing something
    wrong ?
    Any help in this regard is appreciated.
    Thanks in advance
    -Kiran R.

  • I have a Windows 7 laptop using I tunes 64 and all my music files are on an external disc. I rarely use I tunes and at one point moved all my files (including the music files) from one external disc to another without considering what affect this wou

    I have a Windows 7 laptop using I tunes 64 and all my music files are
    on an external disc. I rarely use I tunes and at one point moved all my files
    (including the music files) from one external disc to another without
    considering what affect this would have on the I tunes library. When I eventually
    attempted to use I tunes, every selected a song from the library resulted in a
    message stating that the file couldn't be located. After following some of the procedures
    explained in this community I was able to reconnect the library back to where
    the associated music files are presently stored. However, there are still 2
    problems that need to be corrected. 1) Every song file now has a duplicate. One
    file works and the other file will result in the same message stating that the
    file couldn't be located. Before there were 4,000 songs in the library, now
    there are 8,000 songs. I need to eliminate the 4,000 dead song files. 2) All
    the playlists are still associated with the dead song files which makes the
    playlists unusable. Can the playlists be reconnected to the usable files
    without manually having to recreate them? Thanks in advance for the help.
    sdkr

    So am I understanding correctly?
    You used your iPod as a hard drive (drag and drop) instead of having iTunes install the music?
    If you used drag and drop your choices are different than if you used iTunes to transfer.
    Good luck!

Maybe you are looking for

  • Movement of material from one S.Loc to another S.Loc (both are WM managed)

    Hi, When i transfer the material between s.locations (both are WM managed) TR itself is not getting created and i checked all the necessary configs and everything seems to be correct. But the strange thing is if i check in LS24 the stock is placed in

  • Camera Raw and Mac 10.5.6, CS3 and Canon 5D Mark II

    Just got the 5D Mark II and have CS3 installed (Mac OS). Is there an update for Camera Raw - Photoshop cannot read the files

  • Which jar to use in order to write add-ons for IE

    Hi, I don't know whether I am asking the correct question but I want to know can I use any jar in order to create add-ons for Internet explorer and, if any, which one? thanks

  • Ref: How to Hold Idoc in XI for few minutes?

    Hi, I am having a requirement in one of my scenario like Idoc->BPM->file....where in i am using BPM for receiving Idoc and do some status updates back to R/3. but my requirement is i need to hold this Idoc until some specific time due to the Business

  • Tried to Share iTunes Library and Lost It

    So I created an account on my Macbook Pro for my wife and wanted her to have access to the same iTunes library (we had been using the same account for some time).  I followed all the directions correctly about how to do this here: http://support.appl