XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Carlo FalciolaSubject: 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)

Thanks for all

ciao

carlo

Postnext
Minollo I.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.

Minollo

Postnext
Doug LeeSubject: RE: How to create a scenario feed by XIS query re
Author: Doug Lee
Date: 07 Dec 2001 05:03 PM
Well, with a bit of a workaround you can do it. If you set up the parameter
value with something like:

document('http://localhost:8080/exlnwsf/XlnWebServlet/myxmlstore/myxmlfile.x
ml?exql=/myquery')/*/*

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.

--

Doug

Posttop
Carlo FalciolaSubject: 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!

ciao
carlo

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.