Is this possible using XSLT?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • harryajh

    Is this possible using XSLT?

    using xalan 2.7.1 within Java 5.0

    I want to produce a stylesheet from another stylesheet but there is NO
    xml. Also the stylesheet produced is actually made up of 10 sections
    of xslt which is actually held in memory NOT as a disk file - for this
    we used xslt extension functions which work really well.

    So my question is, using xalan's tranform method, can I give it just a
    xslt file which then makes external calls to retrieve all the sections
    to produce the final one but without any XML?

    thanks in advance

    harry
  • Martin Honnen

    #2
    Re: Is this possible using XSLT?

    harryajh wrote:
    using xalan 2.7.1 within Java 5.0
    >
    I want to produce a stylesheet from another stylesheet but there is NO
    xml. Also the stylesheet produced is actually made up of 10 sections
    of xslt which is actually held in memory NOT as a disk file - for this
    we used xslt extension functions which work really well.
    >
    So my question is, using xalan's tranform method, can I give it just a
    xslt file which then makes external calls to retrieve all the sections
    to produce the final one but without any XML?
    You might want to use the Xalan user list for Xalan specific questions
    but usually when I have a stylesheet that does not need any input XML I
    simply provide a dummy XML input e.g.
    <root/>
    to the transformation method.


    --

    Martin Honnen

    Comment

    • Joseph J. Kesselman

      #3
      Re: Is this possible using XSLT?

      harryajh wrote:
      So my question is, using xalan's tranform method, can I give it just a
      xslt file which then makes external calls to retrieve all the sections
      to produce the final one but without any XML?
      Create and pass in a dummy source.

      Comment

      Working...