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

dynamic xsl file - ignore if seem before

Subject: dynamic xsl file - ignore if seem before
From: "=?big5?b?qkwgpGyq5A==?=" <minikittygo@xxxxxxxxxxx>
Date: Wed, 20 Feb 2002 16:34:13 +0000
dynamic xsl file
(please ignore if see before, i have posted few hours ago but i keep getting Not sent messages')

Hi
i was wondering can anyone help me on this question? i was wondering whether it is possible to embedded a piece of xsl code into a xhtml file and use such information for transformation later on. e.g. source.xml USES sample.xhtml (contain xsl script) TO TRANSFORM new.xml



if so, can someone tell me how it is done and how is the xslt processor (currently i am using xalan) regonise which is the code needed within the xhtml file to transform the file.


Secondly i would like to hear some advice from everyone to see whether the problem and solution i have is, well firstly valid/feasible and secondly will it work... Please connect me if i am wrong.... the approach i mention above is what i was considering to use to solve my problem...

Firstly an xml file is created which is transfrom into a html file to allow user to read easily. a form is provided within this html page so it allow user to select which piece of information they would like to look into. (this is nothing more than a filtering operation)

I was consider to transfer the value the user inputted into a xpath expression and added onto the existing xsl file. then perform a trnsformation through xalan (using the orginial xml file) to recieve a filtered html results. (please tell whether this is the right approach or not)

The problem lies is that how am i going to use the value inputted by the user to write my xpath expression. i know one way to do is using server side scripts like PHP or ASP. but i was wondering whether there is any client side solution to this probelm? i was thinking to write the user input into an xpath expression on a separate file but that is not permitted using javascript. if anyone has some sort of idea please help me out on this as i am stuck with this problem for some time now.

Many thanks
Regards
kit





_________________________________________________________________ ¨Ï¥Î MSN Messenger »PªB¤Í¦b½u¤W²á¤Ñ¡Ghttp://messenger.microsoft.com/tc¡C


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.