|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Process HTML with XSL
> 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








