[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

Subject: Re: trouble merging an XHTML and XML document into one
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Fri, 15 Feb 2002 07:36:47 +0000
storing xhtml in xml
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


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.