XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev Topic
Postnext
Carl SjogreenSubject: Do you have an XSLT Question?
Author: Carl Sjogreen
Date: 30 May 2001 02:39 PM
Do you have an XSLT Question? Post it here and someone will answer your question as soon as possible!

-Carl

--
Carl Sjogreen
Product Manager, eXcelon Tools
eXcelon Corporation
781.674.5143

Postnext
Ari MenaseSubject: Do you have an XSLT Question?
Author: Ari Menase
Date: 25 Jun 2001 09:13 PM
How do you get the list of elements in an xml
document using xslt?

I am trying to find a generic way to create an html table that also contains column captions (element name) without having to know specifics of the xml file.
(without knowing the element names)



for example:
the attached xml file
(using $ for < because can't seem to send this message so that you can see the file as is, and could not figure out how to send the file as an attachment)

would produce an html table

that looked like this

tool      name     price
          Hammer   9.99
          Hammer   14.99
          Wrench   11.49


$?xml version="1.0" ?>
$products>
$tool>
$name>Hammer$/name>
$price>9.99$/price>
$/tool>
$tool>
$name>Hammer Deluxe$/name>
$price>14.99$/price>
$/tool>
$tool>
$name>Wrench$/name>
$price>11.49$/price>
$/tool>
$/products>






Thanks,

Ari

Postnext
Mark MillerSubject: Do you have an XSLT Question?
Author: Mark Miller
Date: 24 Aug 2001 03:40 PM
I am trying to generate a text file from an XML document with XSLT. I am calling a user defined function which is in the XSLT document in an element. But when I call the function from the element like so I get the error, "You have attempted to use an XSL feature that requires Java, but the JVM could not be loaded. Java runtime library could not be found." I am using Windows 2000 Pro sp2. Does windows just have an outdated JVM? If so where do I go to get one?

Posttop
Minollo I.Subject: Re: Do you have an XSLT Question?
Author: Minollo I.
Date: 24 Aug 2001 04:08 PM

>I am trying to generate a text file from an XML document with XSLT. I am
>calling a user defined function which is in the XSLT document in an
> element. But
>when I call the function from the >select="user:DateStyle(string(@ScheduleDate))" /> element like so I get
>the error, "You have attempted to use an XSL feature that requires Java,
>but the JVM could not be loaded. Java runtime library could not be found."
>I am using Windows 2000 Pro sp2. Does windows just have an outdated JVM?
>If so where do I go to get one?

Stylus Studio internal processor doesn't support (yet! :) JScript or
VBScript inline scipts. That's a Microsoft extension which is not part of
the XSLT specifications.
You are getting the error you mention because Stylus Studio's processor is
trying to interpret the DateStyle extension function as a Java extension
function (which are supported).

In the current Stylus Studio version, if you want to run your script from
inside Stylus Studio you have to choose MSXSL as your external processor
from the Scenario property dialog.

Minollo

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.