Is this possible using XSLT?

Discussion in 'XML' started by harryajh, Apr 15, 2008.

  1. harryajh

    harryajh Guest

    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
     
    harryajh, Apr 15, 2008
    #1
    1. Advertising

  2. 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
    http://JavaScript.FAQTs.com/
     
    Martin Honnen, Apr 15, 2008
    #2
    1. Advertising

  3. 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.
     
    Joseph J. Kesselman, Apr 15, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stylus Studio
    Replies:
    0
    Views:
    721
    Stylus Studio
    Aug 3, 2004
  2. Benjamin Hillsley
    Replies:
    3
    Views:
    1,706
    Dimitre Novatchev
    Sep 25, 2003
  3. ted
    Replies:
    1
    Views:
    642
    Laurens
    Jan 26, 2004
  4. Replies:
    4
    Views:
    665
    Barry Andrews
    May 6, 2005
  5. Replies:
    2
    Views:
    731
    Henry S. Thompson
    Oct 19, 2005
Loading...

Share This Page