Re: [xsl] Question Regarding the display of <a> tag from XML

Subject: Re: [xsl] Question Regarding the display of <a> tag from XML
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 21 Mar 2007 16:52:27 GMT
> and the anchor tags don't become a link.

There are no author tags. That is (all) that <![CDATA[ does: it tells
the system that  within its scope < and & do _not_ start tags or entity
references, they should be taken as character data.

So the solution is not to use CDATA.

> the XSL just displays the message as the following
obviously as a transformation language the xsl could output the input
elements in a variety of ways, one of which would be that, but without
seeing the code it's hard to say. Actually it's not that hard to guess
that you have used xsl:value-of which always outputs a text node, losing
any element node structure, rather than use xsl;copy-of which would copy
the input nodes.

XSLT _never_ processes tags, it transforms a tree of nodes to another
tree of nodes, any tags in the input are resolved by an XML parser
before XSLt gets going.

David

Current Thread