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

Re: xsl:element will not create an output element, in

Subject: Re: xsl:element will not create an output element, in any context
From: "Abel Braaksma (online)" <abel.online@xxxxxxxxx>
Date: Thu, 31 May 2007 15:15:22 +0200 (CEST)
Re:  xsl:element will not create an output element
> I've already tried both lc and uc for xhtml:ul - I just tested
> 'xhtml:ul' vs 'xhtml:UL', and the output is the same, regardless;
> still no elements produced.
>
> Any other suggestions?
>
>

Yes. You seem to be pretty sure that you do not have any elements in
your output, even though you don't mention whether you tried running
it differently as suggested by David.

To be certain that you really do not see any element output and that
your system for some reason disallows you to create elements, try
the following stylesheet in your browser, you should see a large
caption saying "Hello world". Name the styesheet "embedded.xslt" (if
not, you will see only the XSLT itself).

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="embedded.xslt"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
    <xsl:output method="html"/>

    <xsl:template match="/">
        <html>
            <head><title>hello world</title></head>
            <body>
                <h1>Hello world!</h1>
            </body>
        </html>
    </xsl:template>
</xsl:stylesheet>


If you do not see a large "Hello world", then you have a very
obscure problem with your browser. Note that you should try it with
Firefox, because with IE you run the risk that the content type is
incorrectly recognized and IE then will try to download the XSLT
file.

Cheers,
-- Abel Braaksma

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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-2007 All Rights Reserved.