This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XSL transform escape question


Martinez, Brian wrote:
I must be confused by the entry for
<xsl:text/> (on page 323 it says the default value of d-o-e is "no"; on the
next page it says it's "yes").
Report this to the publisher/author.

My point is if a node-set contains only HTML markup, you can avoid the whole
output-escaping issue by setting output to HTML and using <xsl:copy-of/>.
Now I'm seriously confused. What do you mean by "a node-set
contains only HTML markup"? AFAIK a node set contains nodes,
and it doesn't make a difference which vocabulary the element
nodes are from. If you mean someone has a CDATA or something
with text which resembles HTML markup, then no, xsl:copy-of
wont convert this automagically into a node tree or whatever,
is stays a text node after being copied.

J.Pietschmann


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]