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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: XSLT question

[ Lists Home | Date Index | Thread Index ]
  • From: Wayne Steele <xmlmaster@hotmail.com>
  • To: rsanford@nolimitsystems.com, xml-dev@lists.xml.org
  • Date: Wed, 23 Aug 2000 12:27:22 -0700 (PDT)

Kinda / Probably.

XSLT is a transformation that works like this:

[XML Document]---------->[================]
                         [ XSLT Processor ]------> [XML or Text]
[XSLT Stylesheet]------->[================]

So you can't just give it a text or binary file as input.

You can, however, write a script (in Perl or something) to convert your 
record-oriented data into a naive XML format, then feed that into XSLT to 
get the "proper" xml representation of your data.

How much work the script has to do, and how complicated your XSLT will need 
to be all depends on:
  1. What does the current record format look like?
  2. What do you want the resulting XML to look like?

The short answer is yeah, you can do it. But I wouldn't wager my life on 
that proposition without more information.

-Wayne Steele

>From: rsanford <rsanford@nolimitsystems.com>
>can i use XSLT to convert xml data to/from fixed record data?

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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

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