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

RE: Evaluate a string to a node set?

Subject: RE: Evaluate a string to a node set?
From: David_Marston@xxxxxxxxx
Date: Thu, 3 Aug 2000 12:05:34 -0400
xslt evaluate string html code
Andy Hitchman says:
>One of my goals is the ability to present the same XML with the same
>stylesheet in different HTML pages (i.e. different layout, same data).

I believe that when the goal is to present the same XML in different
HTML pages, the XSL answer is to have different XSLT stylesheets. In
other words, I think that XSLT is architected from that basis.

>But what we really need to be able to do is specify a path in [the
>tag in the middle where xml data will be inserted into the HTML code]

That looks to me like a description of putting *different* XML data
into the same HTML layout page. I'd say that you have to decide
which thing stays the same (ideally, the HTML) and which thing
varies, then design your system from there.

There are some limited techniques for the XML source document to
contain data that will guide the stylesheet in selection of other
data from the source, but nothing as generalized as pulling an
XPath from the data as a string, then turning around and making
that string become an XPath expression. Perhaps a two-pass
approach would be what you need.
.................David Marston

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

Current Thread


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.
First Name
Last Name
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.