Subject: Re: [xsl] Simple XML to XML transformation question From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 17 Nov 2004 19:04:40 GMT |
view source in IE always shows the original source not the transform. MS have a download that puts a view result of xslt transformation menu item on the right mouse menu. But if you wantto render in IE you have to generate _HTML_ there is no point generating elements <car>xxx</car> as if you do, IE will render them the same way it would render that if you put it direcly in an html file: ignore the unknown element and render the content. Which is what you are seeing. Also it helps to be careful about terminology so the questions and answers can be more easily understood > However, both those examples seem to just output the value of the > attributes... your source (and result) documents had no attributes, only child elements. >I'm basically trying to modify the name of root node element... Root nodes in XSLT are denoted / and are never an element and always have name "". The top level element isn't the same thing as the root. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Simple XML to XML transfo, Nick Roberts | Thread | RE: [xsl] Simple XML to XML transfo, Joe Heidenreich |
Re: [xsl] Importing external XML do, JBryant | Date | RE: [xsl] Importing external XML do, Wong Chin Shin |
Month |