Subject: RE: Where is my Content
From: David Schach <davidsch@xxxxxxxxxxxxx>
Date: Tue, 16 Feb 1999 09:57:29 -0800
|
IE5's browser does not support the fo:* flow objects so this stylesheet will
not display.
> -----Original Message-----
> From: Juliane Harbarth [SMTP:jhb@xxxxxxxxxxxxxx]
> Sent: Tuesday, February 16, 1999 8:06 AM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: Where is my Content
>
> I installed IE5 and used Frank Boumphrey's 'New XSL'
> tutorial to construct a XSL stylesheet which was intended
> to display the following XML-document :
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <?xml-stylesheet type="text/xsl" href="Dolly.xsl"?>
> <xdoc>
> <greeting>Hello Dolly</greeting>
> </xdoc>
>
> The stylesheet "Dolly.xsl" is :
>
> <xsl:stylesheet
> xmlns:xsl="http//www.w3.org/TR/WD-xsl"
> xmlns:fo="http//www.w3.org/TR/WD-xsl/FO"
> result-ns="fo">
> <xsl:template match="/">
> <fo:page-sequence>
> <fo:sequence>
> <xsl:text>root</xsl:text>
> <xsl:process-children/>
> </fo:sequence>
> </fo:page-sequence>
> </xsl:template>
> <xsl:template match="xdoc">
> <fo:block>
> <fo:sequence>
> <xsl:text>xdoc</xsl:text>
> <xsl:process-children/>
> </fo:sequence>
> </fo:block>
> </xsl:template>
> <xsl:template match="greeting">
> <fo:block>
> <fo:sequence>
> <xsl:text>greeting</xsl:text>
> <xsl:process-children/>
> </fo:sequence>
> </fo:block>
> </xsl:template>
> </xsl:stylesheet>
>
> When I display my XML in IE5 the result is :
>
> root xdoc greeting
>
> It looks like the structure of the XML is
> properly recognised, but where is my content,
> i.e. "Hello Dolly" ?
>
> Juliane Harbarth
> Technical Consultant
> Software AG Germany
> mailto:jhb@xxxxxxxxxxxxxx
>
> Tel +49 (0)6151 92 1147
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|