Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML question

From: Peter Flynn <peter.nosp@-.--------.-->
To: NULL
Date: 2/2/2007 10:13:00 PM

jencinas69@g... wrote:
> Hello I am a  newbie to XML and I need to convert a text file into XML
> dynamically, anybody have an idea on how to do this?

XSLT2 and Omnimark are two languages with pattern-matching features that 
can do this, provided your plaintext file is sufficiently regular that 
the patterns of structure can be programmed. Both are in widespread use:
XLST2 is available in free implementations; Omnimark is a commercial 
product.

It's also possible to use the standard scripting languages (Perl, 
Python, Tcl, etc) to do this, often in conjunction with the standard 
Unix shell text tools (available for Windows from www.cygwin.com). The 
scripting languages all have extensive XML libraries, but these are 
mostly for writing applications that have XML *input*.

If you have a representative fragment of the text file that isn't too 
big, post it here so we can see the nature of the problem.

///Peter
-- 
XML FAQ: http://xml.silmaril.ie/


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent