[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Need a programmic way to read xslt file, and determine the mappings defined.


Subject: RE: [xsl] Need a programmic way to read xslt file, and determine the mappings defined.
From: "Bill Riegel" <BRiegel@xxxxxxx>
Date: Mon, 8 Nov 2004 09:51:52 -0600

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.


Bill Riegel
LandMark Graphics
713-839-3388

-----Original Message-----
From: Jarno.Elovirta@xxxxxxxxx [mailto:Jarno.Elovirta@xxxxxxxxx]
Sent: Monday, November 08, 2004 9:41 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Need a programmic way to read xslt file, and
determine the mappings defined.

Hi,

> The xslt files read will be created by processes that I
> control. So I do
> not have to worry about any and every type of xslt construct. I can
> control how to create the xslt files to make it easier to re-interpret
> them.
>
> I could place the knowledge somewhere else, but I thought it wiser to
> use the active mapping file.

Why do you want to

  mapping -> Java code -> XSLT stylesheet -> Java code -> mapping'

When you could do

  mapping -> Java code -> XSLT stylesheet
  mapping -> Java code' -> mapping'

I.e. use the original data you have to generate the stylesheets to also
generate the data you'd get from reverse engineering?

Cheers,

Jarno


Current Thread
Keywords