[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to insert Root Element in XML Output
On 5/3/06, Gary E. Daniels <gdaniels@xxxxxxxxxxx> wrote:
Hi. Newbie here. I have an XSL Stylesheet that produces XML as output. How do I code the XSL sheet to add a Root Element to the outputted XML document? Below is an example of the current XML output and the desired XML output with the root element <foo>. Thanks. Gary
/ matches the "top" of the document. This wraps all the elements, even the root element. You might want to browse through the XPath specs for more info: http://www.w3.org/TR/xpath Jon Gorman
|
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
|