xsl-list
[Top] [All Lists]

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

2006-05-03 14:31:17
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(_at_)ais(_dot_)net
http://www.askdata.net


--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>