title: How to Access multiple xsl resources for int-xml:xslt-transformer tag?
body: <p>Can any one suggest me how to access the multiple xsl files using int-xml:xslt-transformer tag , i have tried below code but it could not help me. </p>
  
  <p>
      </p>
  
  <pre><code>    &lt;int-xml:xpath-router id="responderRouter" input-channel="PQGetGroupMainScreen-Amisys-Channel"&gt;
          &lt;int-xml:xpath-expression expression="/GroupMainRequest/GroupId"/&gt;
          &lt;int-xml:mapping value="Move" channel="items"/&gt;
           &lt;int-xml:mapping value="Loan" channel="parameters"/&gt;
      &lt;/int-xml:xpath-router&gt;
  
      &lt;int-xml:xslt-transformer input-channel="items" xsl-resource="${stylesheet.amisys.soaXml.PQGetGroupMainScreen}"  /&gt; 
  
      &lt;int-xml:xslt-transformer input-channel="parameters" xsl-resource="${stylesheet.amisys.soaXml.PQGetGroupMainScreenShow}"  /&gt; 
  
      &lt;int:service-activator  ref="httpOutboundGatewayHandler" method="buildHttpOutboundGatewayRequest" /&gt;
  
      &lt;int-http:outbound-gateway  url-expression="headers.restResourceUrl"
                                  http-method-expression="headers.httpMethod"
                                  expected-response-type="java.lang.String" &gt;
      &lt;/int-http:outbound-gateway&gt;
  
  &lt;/int:chain&gt;
  </code></pre>
  
  <p>After configuration had been done,when i executed the junit test case below is the error i got in console, Please can any one help me on this.</p>
  
  <pre><code>Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [spring-integration/Jobs/*.xml]
  Offending resource: class path resource [CustomerService/JobDesigner-springintegration.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: The 'input-channel' attribute isn't allowed for a nested (e.g. inside a &lt;chain/&gt;) endpoint element: 'int-xml:xpath-router' with id='responderRouter'.
  Offending resource: file [D:\New CSWorkspace\CustomerService\csServer\target\test-classes\CustomerService\spring-integration\Jobs\PQGetGroupMainScreen.xml]
      at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
      at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
      at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
      at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:271)
      at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:196)
      at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:181)
      at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140)
      at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111)
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
      at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:255)
      ... 42 more
  </code></pre>