[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Deep copy that excludes the element tag
try <xsl:template match="myhtml"> <xsl:copy-of select="node()"/> </xsl:template> Steve Crowers Software Engineer Liberate Technologies 2 Walnut Grove, Suite 200 Horsham, PA 19044 Phone: 215-773-9400 x 9514 Fax: 215-773-9401 scrowers@xxxxxxxxxxxx http://www.liberate.com -----Original Message----- From: Jason Macki [mailto:jmacki@xxxxxxx] Sent: Wednesday, July 25, 2001 2:35 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|