This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Deep copy that excludes the element tag
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Deep copy that excludes the element tag
- From: "Julian Reschke" <julian dot reschke at gmx dot de>
- Date: Wed, 25 Jul 2001 20:44:26 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
I assume you mean XSLT, not XHTML....
The answer is, yes:
<xsl:copy-of select="myhtml/node()" />
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Jason Macki
> Sent: Wednesday, July 25, 2001 8:35 PM
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] Deep copy that excludes the element tag
>
>
> Hello,
>
> Is it possible to use XHTML to transform this:
>
> <myhtml>This is some <b>HTML</b>!</myhtml>
>
> Into this:
>
> This is some <b>HTML</b>!
>
> In other words, I'd like to do a deep copy (a copy that includes any
> elements within the element) of the contents of "myhtml" while excluding
> the tag for the "myhtml" element.
>
> Thanks,
> Jason
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list