Subject: Re: [xsl] xhtml xslt? From: Nathan Shaw <n8_shaw@xxxxxxxxx> Date: Mon, 30 Aug 2004 10:55:11 -0700 (PDT) |
OK, this works, but it is copying the namespace along with the elements. My output from this transformation should be XHTML, so I need to drop the namespace so that I do not end up with xhtml:strong, etc... How can I do a copy but drop the namespace? Thanks, --Nathan Date: Thu, 26 Aug 2004 10:05:34 +0100 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx From: David Carlisle <davidc@xxxxxxxxx> CC: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] xhtml xslt? Message-Id: <200408260905.KAA05731@xxxxxxxxxxxxxxxxx> >I started to create an XSLT to accomplish this: you just want to copy the html you don't need a template for each element, the whole point of namespaces id to make this easy, you can grab them all at once. <xsl:template match="h:*"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl;apply-templates/> </xsl:copy> </xsl:template> David __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xhtml xslt?, David Carlisle | Thread | Re: [xsl] xhtml xslt?, Jeffrey Moss |
Re: [xsl] SOT: XHTML modularization, cking | Date | Re: [xsl] XSLT grouping without Mue, cking |
Month |