> -----Original Message-----
> From: Abhijit Junnare [mailto:[EMAIL PROTECTED]

> I would like to know if this is feasible and if anyone
> has tried something similar.

It certainly is feasible. I remember a vaguely similar situation where I had
to have multi-language support, and I did not want to hard-code a separate
XSLT for each language...
There are a number of possible approaches. In attachment you will find two
possible methods of dealing with this. I dl'ed them from some 'XML-tips'
website, but I seem to have lost the address...
As you can derive from the names of the zips, there should also exist a
'Method1', but for some reason I didn't find that method to be very useful.
(Sorry I can't be more specific; it's been quite a long time since I had a
look at these, but they may give you some ideas.)

I hope you find them to be of use. XSL needs to be modified if you want to
use the second XML for attribute values instead of element names.

Greetz,

Andreas

<<attachment: Method3.zip>>

<<attachment: Method2.zip>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to