|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: trouble merging an XHTML and XML document into one
Hi Bruce, > I would expect the result to be a new XML file like... > <NewPage> > <html xml...> > <body> > Bruce > <br/> > <input id="btnDoSomething" type="button" value="Do Something"/> > </body> > </html> > <RenderingControl> > <ElementToBeChanged> > <Name>btnDoSomething</Name> > <RenderAs>Read-Only</RenderAs> > </ElementToBeChanged> > </RenderingControl> > </NewPage> > > Instead I get the xml repeated back to me. Which XML do you get repeated back to you? I suspect that the problem is in the code that you're using to run the transformation rather than in the XSLT, which looks just fine assuming that the parameters are being passed in correctly. One thing that you might want to check is that the first transformation, the generation of the XHTML, is actually producing XHTML - you have an xsl:output element with a method of html, so it will normally produce (non-well-formed) HTML, but that might not be a problem if you're storing the result as a DOM. Try posting the relevant parts of the code that you're using to run the transformation and we might be able to help further. Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








