Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - >Thread Next - Re: [xsl] Embed document tree [xsl] Embed document treeTo: xsl-list@-----.------------.--- Date: 5/6/2009 5:26:00 AM Hello Xsl-list, Whats the best way to embed a document tree while building html page Consider fragment <?xml version="1.0" encoding="UTF-8"?> <root> <element1 attri1="a1" attri2="a2"> elt1 <element2 attri1="2a1">el2</element2></element1> </root> Saving this as test.xml and opening in a brower display an untransformed tree (Usually with message XML file does not appear to have any style information associated WANT THE TREE - DON'T WANT the MESSAGE.). I'm Using Xslt v1.0 Typically my stylesheets start <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <!--Builds Lead details as Xhtml. For body of e-mail to a Rep--> <xsl:import href="lib.Ced.xsl"/> <xsl:output method="xml" indent="yes"/> ... <xsl:template match="/"> <xsl:element name="html"> <xsl:element name="head"> <title>Ccr - Enquiry</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ... <body> I WANT to EMBED DOCUMENT TREE HERE </body> ... -- Best regards, Arthur mailto:ArthurM@s... --~------------------------------------------------------------------ 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@l...> --~-- | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
