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

  • From: "Brandt Dainow" <bd@i...>
  • To: "'LaShika M'" <archiver@d...>,<xml-dev@i...>
  • Date: Tue, 18 Jan 2000 16:36:47 -0000

YEs - I've seen this demo'd, extracting from Oracle as XML to an XML Object
in an IE5 webpage which then uses JavaScript to write XSL into a 2nd
memory-resident XML object.  The XSL then transforms the XML into an SMTP
format which JavaScript then back to the server where it is outputted as a
pager message.  In actual fact, for your purposes JavaScript is overkill
unless you want to display in a web page.  You're better off using XSL to
transform the source XML output into the appropriate format for your
destination database.  XSL is easier to use and less bug-ridden than
JavaScript anyway.  You'll need a processor to support and run XSL, which
isn't easy to find.  I use JavaScript myself to do this simply because it's
around & works (sorta).  It only requires a couple of lines of code in
JavaScript to do this.  There's a little demo of using XSL with JavaScript
on our website at http://www.internet-etc.com/courses/xml/xsl/xslfset.htm.

Brandt Dainow
bd@i...
Internet Etc Ltd
http://www.internet-etc.com

>-----Original Message-----
>From: owner-xml-dev@i... [mailto:owner-xml-dev@i...]On
>Behalf Of
>LaShika M
>Sent: Wednesday, January 12, 2000 4:04 AM
>To: xml-dev@i...
>Subject: XML & Databases
>
>
>This message was sent from Geocrawler.com by "LaShika M"
><lmcclu1@h...>
>Be sure to reply to that address.
>
>Is it possible to extract data out of a database and format in
>XML using Javascript?
>Is this a crazy thought?  I have only been looking at XML for
>a couple of days and I have a
>assignment quickly approaching need a High Level Explantion of
>if it is possible to extract info
>out of one database, put in XML format, transfer to another
>database.  HELP!
>
>Geocrawler.com - The Knowledge Archive
>
>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/ or
>CD-ROM/ISBN 981-02-3594-1
>Please note: New list subscriptions now closed in preparation
>for transfer to OASIS.
>
>


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/ or CD-ROM/ISBN 981-02-3594-1
Please note: New list subscriptions now closed in preparation for transfer to OASIS.



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