Re: [xsl] Transform xhtml to xhtml, convert one tag to another, while preserving rest of file

Subject: Re: [xsl] Transform xhtml to xhtml, convert one tag to another, while preserving rest of file
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Mon, 07 Feb 2005 14:42:44 -0500
Peter,

At 02:38 PM 2/7/2005, you wrote:
Summary:
I want to use XHTML as input and output, and in the process convert one tag from one format to another, while keeping the rest of the file intact. Is this possible?

Yes.


You want a variant of the identity transformation, described often in XSLT documentation and in the archives to this list. This is the commonest and most versatile way of approaching "copy the entire document, except..." types of problems.

Google for "XSLT identity transformation" and see what comes up. Ask again if you get stuck.

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

Current Thread