What XML technology

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

    #1

    What XML technology

    I have an XML document that I need to be displayed with a specific
    format/layout. I have been using XML for awhile now, but I'm not familiar
    with every XML technology out in use. What would be the best XML based
    technology to use for display and printing a document. I believe the
    technology or XML processor will need to be aware of the printer dimensions
    and screen dimensions so that it can format the document accordingly. Any
    help guidance would be greatly appreciated.


  • Chris Huebsch

    #2
    Re: What XML technology

    Mike King (Wed, 2 Jun 2004 08:45:25 -0400):[color=blue]
    > I have an XML document that I need to be displayed with a specific
    > format/layout. I have been using XML for awhile now, but I'm not familiar
    > with every XML technology out in use. What would be the best XML based
    > technology to use for display and printing a document. I believe the
    > technology or XML processor will need to be aware of the printer dimensions
    > and screen dimensions so that it can format the document accordingly. Any
    > help guidance would be greatly appreciated.[/color]

    google for

    * xslt (uses to convert xml to any other format)
    * xsl:fo (used to decribe visual representations )
    * apache fop (used to convert fo to PDF)


    Chris
    --
    Chris Huebsch www.hübsch-gemacht.de | TU Chemmnitz, Informatik, RNVS
    GPG-Encrypted mail welcome! ID:7F2B4DBA | Str. d. Nationen 62, B204
    Chemnitzer Linux-Tage 2005, 5.-6.März | D-09107 Chemnitz
    http://www.tu-chemnitz.de/linux/tag/ | +49 371 531-1377, Fax -1803

    Comment

    • Victor

      #3
      Re: What XML technology

      Chris Huebsch wrote:
      [color=blue]
      > Mike King (Wed, 2 Jun 2004 08:45:25 -0400):
      >[color=green]
      >>I have an XML document that I need to be displayed with a specific
      >>format/layout. I have been using XML for awhile now, but I'm not familiar
      >>with every XML technology out in use. What would be the best XML based
      >>technology to use for display and printing a document. I believe the
      >>technology or XML processor will need to be aware of the printer dimensions
      >>and screen dimensions so that it can format the document accordingly. Any
      >>help guidance would be greatly appreciated.[/color]
      >
      >
      > google for
      >
      > * xslt (uses to convert xml to any other format)
      > * xsl:fo (used to decribe visual representations )
      > * apache fop (used to convert fo to PDF)[/color]

      And if you want to display as HTML in browsers, CSS (cascading
      stylesheet) is invaluable.

      --
      Victor

      Comment

      • Andy Dingley

        #4
        Re: What XML technology

        Victor <engmark-usenet@orakel.n tnu.no> wrote in message news:<c9kjgg$bl $1@sunnews.cern .ch>...
        [color=blue]
        > And if you want to display as HTML in browsers, CSS (cascading
        > stylesheet) is invaluable.[/color]


        This is potentially misleading. CSS is valuable, yes. However
        there's also a way of displaying XML "in a browser" with just CSS and
        without XSLT. Experience has shown that this is a poor solution. Go
        with XSLT to transform to (X)HTML, then just use CSS to control
        presentation. Don't expect CSS alone to handle all of the job.

        Comment

        • Victor

          #5
          Re: What XML technology

          Andy Dingley wrote:
          [color=blue]
          > Victor <engmark-usenet@orakel.n tnu.no> wrote in message news:<c9kjgg$bl $1@sunnews.cern .ch>...
          >
          >[color=green]
          >>And if you want to display as HTML in browsers, CSS (cascading
          >>stylesheet) is invaluable.[/color]
          >
          > This is potentially misleading. CSS is valuable, yes. However
          > there's also a way of displaying XML "in a browser" with just CSS and
          > without XSLT. Experience has shown that this is a poor solution. Go
          > with XSLT to transform to (X)HTML, then just use CSS to control
          > presentation. Don't expect CSS alone to handle all of the job.[/color]

          Of course. I should have mentioned it.

          Use XML to save your data, XSLT to transform into any format you want,
          and if the format is XHTML, use CSS to style it.

          --
          Victor

          Comment

          • Speck

            #6
            Re: What XML technology


            "Mike King" <emailMK@excite .com> wrote in message
            news:10briv6qng l6s04@corp.supe rnews.com...[color=blue]
            > I have an XML document that I need to be displayed with a specific
            > format/layout. I have been using XML for awhile now, but I'm not familiar
            > with every XML technology out in use. What would be the best XML based
            > technology to use for display and printing a document. I believe the
            > technology or XML processor will need to be aware of the printer[/color]
            dimensions[color=blue]
            > and screen dimensions so that it can format the document accordingly. Any
            > help guidance would be greatly appreciated.[/color]

            An option to look at is IBM developerWorks open-source Toot-o-matic tool
            (http://www-136.ibm.com/developerworks/).

            For example, all their developerWorks tutorials are held as plain XML. From
            this starting point they are converted (via XSLT) to HTML, ZIP files, or
            A4/Letter PDF documents (via XSLT and XSL-FO) on the fly as requested.

            Speck.


            Comment

            • Saqib Ali

              #7
              Re: What XML technology

              > I have an XML document that I need to be displayed with a specific[color=blue]
              > format/layout. I have been using XML for awhile now, but I'm not familiar
              > with every XML technology out in use. What would be the best XML based
              > technology to use for display and printing a document. I believe the
              > technology or XML processor will need to be aware of the printer dimensions[/color]

              Apache Cocoon ( http://cocoon.apache.org/ )

              example(s): http://www.xml-dev.com/blog/#88

              In Peace,
              Saqib Ali

              Comment

              Working...