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

Re: Where is my Content

Subject: Re: Where is my Content
From: Shekhar Kshirsagar <skshirsa@xxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Feb 1999 13:02:37 -0500
shekhar kshirsagar
Hi,

I spent some time with the example and discovered some interesting and
confusing facts.
Here are my comments :

First of all, the content - "Hello Dolly", is not displayed, because there
is no rule in 
your XSL document which asks the browser to display it. 

><xsl:stylesheet 
>        xmlns:xsl="http//www.w3.org/TR/WD-xsl"
>        xmlns:fo="http//www.w3.org/TR/WD-xsl/FO"
>        result-ns="fo">
the names spefications have missing ':'.
After this error was corrected, browser started giving me error that 
	"Keyword xsl:text may not be used here." - I don't know why ?

I changed xsl:text to xml:text and then it worked, Is xml:text valid ?

Thanks & Regards,
Shekhar Kshirsagar
Nortel Networks




DISCLAIMER:    
The views expressed here are my own and may not reflect those of Nortel
Networks.

At 04:06 PM 2/16/99 -0000, Juliane Harbarth wrote:
>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


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.