Re: [xsl] Problems copying elements recursively.

Subject: Re: [xsl] Problems copying elements recursively.
From: Mike Brown <mike@xxxxxxxx>
Date: Thu, 6 Feb 2003 21:53:58 -0700 (MST)
Imrran Wahid wrote:
> > You mean that you wish to display the markup when
> > the HTML page is
> > viewed?  Then my comments on not outputting the
> > angle brackets do not
> > apply to your task, do they?
> 
> Yes, I wish to display the markup for only this one
> node...and all its decendants. Would the identity
> transform help with this? I thought it was for the
> entire document.

Simulating the serialization of a node-set to a string in XML syntax is an
arduous process best suited for an extension function, but you'll probably
find Evan Lenz's stylesheet at http://www.xmlportfolio.com/xml-to-string/
helpful.

Mike

-- 
  Mike J. Brown   |  http://skew.org/~mike/resume/
  Denver, CO, USA |  http://skew.org/xml/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread