[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Grouping multiple tags into one parent tag
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|