This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Preserving XHTML markup
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 4 Feb 2002 18:26:01 -0000
- Subject: RE: [xsl] Preserving XHTML markup
- Reply-to: xsl-list at lists dot mulberrytech dot com
> How do I preserve things so I end up with:
>
> <p>
> Some html <b>here</b>.
> </p>
By using <xsl:apply-templates/> at each level to process the child nodes all
the way down the hierarchy.
>
> My XSLT stylesheet loses all the markup in the children of
> selected/processed nodes...
>
It's probably doing <xsl:value-of/> to get the value of a node that has
children.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list