RE: Traversing XSL using XSL
I don't think I would tackle it this way, for maintenance and modularity reasons. I think it would be better to write a stylesheet that transforms the output of XSL File 1. If you're lucky, then XSL File 1 always writes XForms elements using literal result elements. But it doesn't have to: it can use xsl:element or xsl:copy. That's going to be very hard to analyze from another stylesheet. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Prasad Akella [mailto:avlnprasad@xxxxxx] > Sent: 03 February 2005 10:17 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Traversing XSL using XSL > > hi, > > I am working on XForms and would like to traverse my XSL > File1 with another XSL File2 and perform some manipulations. > The purpose is as follows: > > XSL File1 is used to transform my XML into XForms which i can > run in XSMILES browser. > > XSL File2 should take XSL File1 as input, traverse it and > substitute all mx XForms tags with XHTML as I would like to > run the same example in Mozilla. I know of alternatives to > achieve this using plug-ins or other softwares. But I would > like to write this transformation in XSL and experiment. > > Thus, I need to traverse an XSL file using another XSL file, > match certain tags work around them. Please help me out with > suggestions and code examples. > > Regards, > > Prasad Akella > > __________________________________________________________ > Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. > weltweit telefonieren! http://freephone.web.de/?mc=021201
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format