XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] Fwd: Xml doubts please reply

Yes, it shouldn't be difficult to convert this to XML.
 
Use whatever tool you are most comfortable with. Many people would do it using Perl, or even awk. I would use XSLT. XSLT 2.0 has an unparsed-text() function that allows you to read a text file; you can then use regular expressions to extract the tags in each line, and grouping to group the lines into records. For a report of a similar but rather more complicated up-conversion exercise, see this paper:
 
http://www.saxonica.com/papers/ideadb-1.1/mhk-paper.xml
 

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay



From: SHAJI A [mailto:mail4shaji@gmail.com]
Sent: 14 August 2009 08:08
To: xml-dev@lists.xml.org
Subject: [xml-dev] Fwd: Xml doubts please reply



---------- Forwarded message ----------
From: SHAJI A <mail4shaji@gmail.com>
Date: Aug 14, 2009 12:30 PM
Subject: Xml doubts please reply
To: xml-dev@lists.xml.org

hello sir

   i am shaji from kerala india. i am a programmer.  i hve one doubt i will explain below.

we have to devolop a literatures database. i need to include varoius features like search by author,search title,
search by publication year etc:-

so what we noramlly doing is first store all the literature details to datbase(it includes foolwing
information like author(Au),title(TI),abstract(
Ab) ,published year etc-:
in order to store  the these information we need to create one  literature entry form...and store the details via  form...
this method  is possible... it is very tedoius since we have around 6000 literaturees are there.

so is there any other method?

we are downloding these literatures from some external websites...all the literatures are in the same format
..i am sending the litertures record format(attachement)  below...please check that ...

[in that attached file TI:means title      AU means author  AB:abstract  KW means Keywords PY means publication year
etc:

please check that records...and suggest any new methods. 
can we convert it  into xml directly?

please reply


 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS