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


...
<xsl:template match="mycustomtag">
   <p>
     <xsl:copy-of select="." />
   </p>
</xsl:template>
...

should work (also newbie)

markus


> xml:
> <mycustomtag>
>     Some html <b>here</b>.
> </mycustomtag>
> 
> 
> How do I preserve things so I end up with:
> 
> <p>
>     Some html <b>here</b>.
> </p>
> 
> My XSLT stylesheet loses all the markup in the children of 
> selected/processed nodes...




 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]