Wednesday, February 3, 2010

XSL-FO is not meant to be for websites. Is this true or false?

I saved the following text into a file called tester.xml and it doesnt show up in firefox or ie. It only showed up in googles chrome browser.





%26lt;?xml version=';1.0'; encoding=';iso-8859-1';?%26gt;





%26lt;fo:root xmlns:fo=';http://www.w3.org/1999/XSL/For鈥?br>

%26lt;fo:layout-master-set%26gt;


%26lt;fo:simple-page-master master-name=';my-page';%26gt;


%26lt;fo:region-body margin=';1in';/%26gt;


%26lt;/fo:simple-page-master%26gt;


%26lt;/fo:layout-master-set%26gt;





%26lt;fo:page-sequence master-reference=';my-page';%26gt;


%26lt;fo:flow flow-name=';xsl-region-body';%26gt;


%26lt;fo:block%26gt;Hello, world!%26lt;/fo:block%26gt;


%26lt;/fo:flow%26gt;


%26lt;/fo:page-sequence%26gt;


%26lt;/fo:root%26gt;XSL-FO is not meant to be for websites. Is this true or false?
Well, no, you shouldn't use it as your website. That's what HTML is for. When you say it doesn't show up, you mean IE/Firefox show the raw XML?

No comments:

Post a Comment