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

Re: Hello World

Subject: Re: Hello World
From: Ingo Weiss <ingoweiss@xxxxxxx>
Date: Wed, 19 Jun 2002 11:32:51 -0400
ingo weiss
try this

xml file
<?xml version="1.0"?>
<test>test worked</test>

xslt file
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <xsl:template match="/"><xsl:value-of select="test"/></xsl:template>
</xsl:stylesheet>

cheers, jim fuller


Thanks!

I am embarrassed to report that it still didn't work. Is is possible that you omitted the stylesheet tag from the XML file?

I added it and tried

<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/xml" href="style.xsl"?>
<test>test worked</test>

with your style sheet - still didn't work!
I tried it both locally and on my server - to no avail!

That's strange since I tried the test file at www.mozilla.org and it worked.

If it's a bug in mozilla then I am not married to mozilla, I was just looking for a way to get started with XSL (on a Mac) and Mozilla seemed like an easy way. Maybe I should try something else?

Ingo

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.