xsl-list
[Top] [All Lists]

Re: Simple XML to XML transformation question

2004-11-17 12:04:40

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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--