Subject: RE: [xsl] Storing HTML in XML From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Fri, 7 Sep 2001 09:51:55 +0100 |
> MK> If the <title> is the current node, do <xsl:copy-of > select="node()"/> to > MK> copy its children. > > He also could have said <xsl:copy-of select="."/>, or equally "If the > <title> ISNT the current node, do <xsl:copy-of > select="the_path/title"/> to > copy its children." I think the original poster wanted to copy the children of a node without copying the node itself. To do that, you need to use child::node() somewhere in your path (or its shorthand, node()). Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Storing HTML in XML, timw | Thread | RE: [xsl] Storing HTML in XML, timw |
Re: [xsl] recursively descending th, Jeni Tennison | Date | Re: [xsl] How do you change markup , Jeni Tennison |
Month |