Altova Mailing List Archives


Re: [xsl] How to insert Root Element in XML Output

From: "Gary E. Daniels" <gdaniels@----------->
To:
Date: 5/3/2006 9:31:00 PM
Thanks, Jack and all others that gave of their time to help me out.  Got it 
working now.




Gary




At 02:51 PM 5/3/2006 +0100, you wrote:





I don't know wat your XSL looks like; but you can probably get whhat you
want by adding a template rule like this:

<xsl:template match="/">
  <xsl:element name="foo">
  <xsl:apply-templates/>
  </xsl:element>
</xsl:template>

--
Jack.

Gary E. Daniels
Cornerstone Appraisal Company
500 Selkirk Drive
Schaumburg, IL. 60194
847 882-5892  Fax 847 882-5963
mailto:gdaniels@xxxxxxx
http://www.askdata.net

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.