Generating multi-part HTML with XSL?

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

    Generating multi-part HTML with XSL?

    Hi,

    I have an XML-file out of which I generate a HTML-file with an XSL. It
    seems that it is only possible to generate one single HTML-file and
    not multiple files e.g. in order to distribute different chapters of a
    book in their own *.html - files. Is that true or is there some way to
    do that?

    Thanks in advance! P.Caspers
  • Johannes Koch

    #2
    Re: Generating multi-part HTML with XSL?

    Peter Caspers wrote:[color=blue]
    > Hi,
    >
    > I have an XML-file out of which I generate a HTML-file with an XSL. It
    > seems that it is only possible to generate one single HTML-file and
    > not multiple files e.g. in order to distribute different chapters of a
    > book in their own *.html - files. Is that true[/color]

    That is true for XSLT 1.0. It will probably change with XSLT 2.0
    [color=blue]
    > or is there some way to
    > do that?[/color]

    Some XSLT engines (e.g. Saxon, Xalan) have an extension mechanism to do
    what you want. Have a look at your XSLT engine's documentation.
    --
    Johannes Koch
    In te domine speravi; non confundar in aeternum.
    (Te Deum, 4th cent.)

    Comment

    • Dimitre Novatchev

      #3
      Re: Generating multi-part HTML with XSL?


      "Peter Caspers" <kpcaspers@web. de> wrote in message
      news:5326b95.03 09290358.19ac09 2b@posting.goog le.com...[color=blue]
      > Hi,
      >
      > I have an XML-file out of which I generate a HTML-file with an XSL. It
      > seems that it is only possible to generate one single HTML-file and
      > not multiple files e.g. in order to distribute different chapters of a
      > book in their own *.html - files. Is that true or is there some way to
      > do that?[/color]

      Read about the exsl:document extension element and use it with an XSLT
      processor, which implements this.


      Top 10 nhà cái uy tín thưởng lớn, tặng tiền nhiều nhất 2025 như VIN88, ZO88, 86BET, FO88, DOM88,... giao dịch an toàn, nhanh chóng, bảo mật, ưu đãi hấp dẫn...


      AFAIK Saxon, libxslt and .Net EXSLT implement exsl:document (the .Net
      implementation by Oleg Tkachenko requires XHTML output instead of HTML).


      =====
      Cheers,

      Dimitre Novatchev.
      http://fxsl.sourceforge.net/ -- the home of FXSL


      Comment

      Working...