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

Re: Need a programmic way to read xslt file, and dete

Subject: Re: Need a programmic way to read xslt file, and determine the mappings defined.
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Tue, 09 Nov 2004 08:43:22 +0100
logic when in xsl
Hi Bill,

I've done quite some conversions, bi-directional also, and I tend to agree that it would be a lot easier for you to place some kind of mapping in the center. If the logic can generate xslt, then it should be fairly easy to generate a mapping as well. Though it would make more sense to me if the logic would create a mapping first and some code generates an xslt out of it. One of the benefits is that a mapping could be presented in a customer-readable form. That is quite difficult with an XSLT...

Grtz,
Geert

Hi


Workflow:
User runs logic to create xslt file, its serialized. Some time later the User re-selects the xslt file to be
analyzed.
Need to use the xslt file as an input.


When you generate the stylesheet, could you also generate another file that contains the mappings and then analyze that instead of the actual stylesheet? If not, then annotate the stylesheet literal result elements (and xsl:element generated element nodes) with an identifier, as suggested by David.

Cheers,

Jarno

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.