[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Appying XSL to dynamic part of XML.

Subject: RE: Appying XSL to dynamic part of XML.
From: "John Hicks" <cerium@xxxxxxx>
Date: Mon, 31 May 1999 00:06:08 -0400
dynamic part
Hi Klaas:

You wrote:

>I'm trying to do some trick with XSL.
>Scenario 1:
> ...for every database-entry... in the database,
> I would like to repeat the "paragraph"
> (every time with the next element from the
> database of course).

Unless you particularly want to see XSL do the heavy-lifting, we have a tool
that meets your challenge (as I understand it).

Our XSLServletPreview combines templates (HTML or XML) 1) with database
values;  2) with one another;  3) with stylesheet.  In that order: XSL
doesn't come in till (3).

Simple example, HTML:

  top.html >>>>>>>> once
  no SQL >>>>>>>>>>

  side.html >>>>>>> repeat or omit as needed
  SQL >>>>>>>>>>>>>

  middle.html >>>>> repeat or omit as needed
  SQL >>>>>>>>>>>>>

  bottom.html >>>>> once
  no SQL >>>>>>>>>>

Example with XML and XSL:

  this.xml >>>>>>>
  SQL or no >>>>>>

  that.xml >>>>>>>
  SQL or no >>>>>>

  theOther.xml >>>
  SQL or no >>>>>>

  aStyling.xsl >>>>

Again we include, repeat, or omit each (top, side, middle, bottom, this,
that, the other) as needed, depending on database results.

You wrote:

> Scenario 2:
> ...create a new "document" for every entry...

XSLServletPreview also includes, repeats, or omits entire documents this
way, depending on database results, and then unbatches them.

Don't let the name worry you: no servlet engine or web server needed.  Uses
IBM XML4J parser and LotusXSL v17 (new in late May).

Does that meet your challenge?  No charge download (for now) from
http://cerium.cc

John

Cerium Component Software
Build With Our XML Team | Tools
XMLOutline | XMLDB | XMLServlet
212-662-3982 | 888-742-8989 | Fax 707-222-7651
http://cerium.cc
"Software as a conversation with a community."


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.