[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Embed document tree
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@xxxxxxxxxx
|
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
|