This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Preserving XHTML markup
- From: Adam Sherman <adam at tritus dot ca>
- To: "xsl-list at lists dot mulberrytech dot com" <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 04 Feb 2002 15:21:16 -0500
- Subject: RE: [xsl] Preserving XHTML markup
- References: <000101c1adb7$390bce60$78fe0250@pcukmka>
- Reply-to: xsl-list at lists dot mulberrytech dot com
On 02/04/2002 08:04:56 PM +0000, Michael Kay wrote:
>> Just noticed that using copy-of keeps the parent markup:
>>
>> <para>Hello, <b>World</b>!</para>
>>
>> Using <p><xsl:copy-of select="."/></p>, becomes
>>
>> <p><para>Hello, <b>World</b>!</para></p>
>>
>> How do get rid of the "para" tags?
>>
> Use <xsl:copy-of select="child::node()"/>.
Great! Works fine. Going now to read "XSLT Programmer's Reference" cover to
cover with my tail between my legs.
I promise to avoiddumb questions next time!!!
Thanks,
A.
--
Adam Sherman
President & Chief Technologist
Tritus Consultant Group Inc.
+1 (613) 255-5164
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list