[Home] [By Thread] [By Date] [Recent Entries]

  • From: Cristobal Galiano Fernandez <c.galiano@u...>
  • To: xml-dev@i...
  • Date: Thu, 26 Aug 1999 13:25:42 +0200


    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@n...</>
          </>
          <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


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member