[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: basic xslt question

Subject: Re: basic xslt question
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Thu, 16 May 2002 07:06:01 +0200
Re:  basic xslt question
It's really easy: IE doesn't support XSL FO, so it is only text for IE or better said "another XML format".

Joerg

normbishop1@xxxxxxxxxxxx schrieb:
Hello,
I am new to xml/xsl world and facing some basic problems.  I have heard that this is one of the best list for xsl and I am thanking you in advance for your support.

I have the following xml and xsl files and I expect a formatted text to be displayed on IE. Instead IE is displaying text without any formatting. What is wrong here?

<?xml version='1.0' encoding='iso-8859-1'?>
<?xml-stylesheet type='text/xsl' href='testxml.xsl'?>
<document>
   <test> testing </test>
</document>




<?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform/1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format/1.0">


<xsl:template match="/">
<fo:root xmlns:fo = "http://www.w3.org/1999/XSL/Format/1.0">
<fo:layout-master-set>
<fo:simple-page-master page-master-name="only">
<fo:region-body/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence>
<fo:sequence-specification>
<fo:sequence-specifier-single
page-master-name="only"/>
</fo:sequence-specification>
</fo:page-sequence>
</fo:root>
</xsl:template>
<xsl:template match="document/test">
<fo:block font-family="serif" font-weight="bold" text-align="center"
font-size="20pt" color="black">
<xsl:value-of select="."/> </fo:block> </xsl:template>
</xsl:stylesheet>



Norm


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.