xsl-list
[Top] [All Lists]

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

2007-03-21 09:52:47

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--