Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

Re: [xml-dev] Including unparsed xml (xhtml code) code in xslt output.


  • From: Philippe Poulard <philippe.poulard@...>
  • To: Mukul Gandhi <gandhi.mukul@...>
  • Date: Mon, 26 Nov 2007 09:50:44 +0100

hi,

I prefer this one :

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:data="http://www.example.com" version="1.0">

<xsl:output indent="yes" />

<data:node>
   <nodexhtml>
    <html><h1>Hello</h1></html>
   </nodexhtml>
</data:node>

<xsl:template match="/">
   <xsl:copy-of select="document('')/*/data:node/nodexhtml/*"/>
</xsl:template>

</xsl:stylesheet>

-- 
Cordialement,

               ///
              (. .)
  --------ooO--(_)--Ooo--------
|      Philippe Poulard       |
  -----------------------------
  http://reflex.gforge.inria.fr/
        Have the RefleX !


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor