Subject:How to create a scenario feed by XIS query re Author:Carlo Falciola Date:06 Dec 2001 01:00 PM
Hi!!
How cold I set up a scenario for an XSLT (XML to HTML transformation) using as input an XML generated by a xpath query executed by the XIS query processor.
(similar to the behavior of the html preview feature present in the query wizard of explorer back in release 2.6)
Subject:Re: How to create a scenario feed by XIS query re Author:Minollo I. Date:06 Dec 2001 01:07 PM
You can't do exactly what you are saying; but nothing prevents you from
embedding the XPath query inside the XSLT stylesheet (or, maybe even
better, pass it as a parameter value), and make your stylesheet work on the
result of that query rather than on the whole document.
I believe that's the most portable/XSLT way to do what you are describing.
In other words, use the web servlet framework (or whatever equivalent you
prefer) to execute a query in the database via a web server.
However, the only reason I can think of for obtaining a result set like this
would be for the purposes of testing the stylesheet within Stylus against a
large data set stored within XIS. As Minollo says, in most situations in
real systems you'd want to execute the stylesheet directly against the
target XIS document.
Subject:RE: How to create a scenario feed by XIS query re Author:Carlo Falciola Date:08 Dec 2001 05:44 PM
Yes,
the reason was to find out an approach to realize a fast rendering of Xpath query results over large/dynamic XML stored in XIS, for prototyping or (in house) data analisys getting a more readable visualization.
Thank for your good hint!