xsl-list
[Top] [All Lists]

RE: Process HTML with XSL

2005-07-08 16:41:37

The problem, XML page: 

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="xsl/main.xsl" type="text/xsl"?>
<home title="Title Test"> 
<![CDATA[           
    <table width="100%" border="0" cellspacing="3" cellpadding="3">
      <tr>
        <td width="50%"><img src="/images/logo.png" / alt=""></td>
        <td width="50%"><p>Text</p></td>
      </tr>
    </table>
]]>
</home>

The question: How can I make XSL procces this HTML code and 
show it like I
want?.

This isn't HTML code. It looks like HTML code, but by putting it in a CDATA
section you've gone to the trouble of telling the parser that it isn't
really: CDATA tells the parser not to treat the angle brackets as markup,
but as ordinary 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>