I have xml with a section structured like this:
<body>content here</body>
<body>content here</body>
<body>content here</body>
I'd like to change all of the body elements to <p> tags and group all
of those original body elements (now <p> tags) into a parent element.
I've been using
<xsl:template match="body">
<field name="body">
<xsl:apply-templates/>
</field>
because the parent element needs to be <field name="body"> but each
original body element needs to be converted to <p> tags.
Can anyone assist me with this?
chad
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--