This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Preserving XHTML markup


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]