[XML-SIG] Hello again.

Thomas B. Passin tpassin@comcast.net
Tue, 09 Apr 2002 08:44:11 -0400


[Matthew D. Wood]

> I am creating an XML document that will contain several web-links.  In
> trying to figure out the best way to represent a web-link I've pretty
> much convinced myself that the best method will be the standard:
> <a href="www.webpage.com">Look at the pretty page!</a>
> style of link.  This makes sense to me as it's valid XML and it should
> be pretty easy to convert it to html when I need to.
>
> Now, I would like to use XSLT to transform my XML document into an HTML
> or XHTML document.  I understand the basics of how an XSL document
> should work in order to accomplish this, but I have no idea how to
> preserve a portion of the XML tree.  I want to totally recreate the
> entire <a ...>...</a> tree, and not change a thing.  I can't for the
> life of me figure out how to do this.

Use xsl:copy or xsl:copy-of.  Join the Mulberrry xslt list - it's very good
for xslt questions.

Cheers,

Tom P