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

RE: XLS wanted....

Subject: RE: XLS wanted....
From: "Vun Kannon, David" <dvunkannon@xxxxxxxx>
Date: Fri, 3 Sep 1999 11:40:09 -0400
javascript xls
	The problem is very similar to deriving a DTD from a single instance
document. You might find a stylesheet which does that job and change the
hard coded text from "<!ELEMENT" to "function", etc.
	It might be more useful to start with the DTD and generate
Javascript that can handle any valid document.
Cheers,
David vun Kannon

-----Original Message-----
From: Cristobal Galiano Fernandez [mailto:c.galiano@xxxxx]
Sent: Friday, September 03, 1999 6:17 AM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: XLS wanted....


   I need a generic XLS file that giving a XML file give de
Javascript functions

1) XML File

<?XML VERSION="1.0" RMD="NONE"?>
     <AUTHORS>
          <AUTHOR>
               <FIRSTNAME>Alexander</>
               <INITIAL1>D</>
               <SURNAME>Hildyard</>
          </>
          <AUTHOR>
               <FIRSTNAME>Anon</>
               <EMAIL>nobody@xxxxxxxxxxx</>
          </>
          <AUTHOR>
               <SURNAME>Twilite</>
               <INITIAL2>M</>
               <SPECIALFLAGS>
                    <FLAGS1>TRUE</>
                    <FLAGS4>TRUE</>
               </>
          </>
          <PSEUDOAUTHOR>
               <TITLE>I24X79</>
          </>
     </>

2) Javascript functions asociated (generated via XSL)

function AUTHORS()
   { this.PSEUDOAUTHOR = new Array();
     this.AUTHOR = new Array();
     return this;
   }
function AUTHOR()
   { this.SPECIALFLAGS = new Array();
     this.INITIAL2 = new Array();
     this.EMAIL = new Array();
     this.SURNAME = new Array();
     this.INITIAL1 = new Array();
     this.FIRSTNAME = new Array();
     return this;
   }
function PSEUDOAUTHOR()
   { this.TITLE = new Array();
     return this;
   }
function SPECIALFLAGS()
   { this.FLAGS4 = new Array();
     this.FLAGS1 = new Array();
     return this;

thanks in advance

Cristóbal





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
*****************************************************************************
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized.

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this email are subject to the terms and conditions expressed in
the governing KPMG client engagement letter.
*****************************************************************************


 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.