OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: XML Document to ascii text file

[ Lists Home | Date Index | Thread Index ]
  • From: "Robert C. Lyons" <boblyons@unidex.com>
  • To: 'Didier PH Martin' <martind@netfolder.com>, 'Mallikarjuna Sangappa' <malliks@rocketmail.com>, "xml-dev@ic.ac.uk" <xml-dev@ic.ac.uk>
  • Date: Wed, 9 Jun 1999 08:36:37 -0400

Didier wrote:
	"Can you explain how with just a simple example. ...
	 How would you transform this XML document above into a plain asci text? 
	 Can you show it with a XSL script?"

Didier,

I have an example of an XSLT stylesheet that converts an XML document
into a plain ascii text file. The XML document is not the same as yours,
but it's fairly simple.

Here's the XML document:




------
Bob Lyons
EC Consultant
Unidex Inc.
1-732-975-9877
boblyons@unidex.com
http://www.unidex.com/

-----Original Message-----
From:	Didier PH Martin [SMTP:martind@netfolder.com]
Sent:	Tuesday, June 08, 1999 2:18 PM
To:	Robert C. Lyons; 'Mallikarjuna Sangappa'; xml-dev@ic.ac.uk
Subject:	RE: XML Document to ascii text file

Hi,

Can you explain how with just a simple example. Let's say the XML document
is:

<document>
<title>
 This is the title
</title>
<par>
One upon a time...
</par
</document>

How would you transform this XML document above into a plain asci text? Can
you show it with a XSL script?

regards
Didier PH Martin
mailto:martind@netfolder.com
http://www.netfolder.com

-----Original Message-----
From: owner-xml-dev@ic.ac.uk [mailto:owner-xml-dev@ic.ac.uk]On Behalf Of
Robert C. Lyons
Sent: Tuesday, June 08, 1999 12:43 PM
To: 'Mallikarjuna Sangappa'; xml-dev@ic.ac.uk
Subject: RE: XML Document to ascii text file


Malliks wrote: "Is there any program or tool which converts
	an XML document to ascii text file."

Malliks,

XSLT can do this.
See http://www.w3.org/TR/WD-xslt

There are several free XSL processors available.
For example, James Clark's XT (http://www.jclark.com/xml/xt.html).

Bob

------
Bob Lyons
EC Consultant
Unidex Inc.
1-732-975-9877
boblyons@unidex.com
http://www.unidex.com/


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following
message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS