xsl-list
[Top] [All Lists]

RE: Including an HTML tag inside the XML text

2005-03-03 08:15:39

I want to write an XML something like this:

<node>
  <text>blablabla<br>blebleble</text>
</node>


The only XML I can think of that is something like this is:

<node>
   <text>blablabla<br/>blebleble</text>
</node>
 
XSLT can only generate well-formed XML, it can't generate "something like
XML". You can serialize the result tree using the HTML output method, but I
don't think you would really want to do this if it contains non-HTML
elements such as <node> and <text>. 

Michael Kay
http://www.saxonica.com/



--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>