[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
RE: Fwd: Xml doubts please reply
- From: Michael Kay <mike@saxonica.com>
- To: 'SHAJI A' <mail4shaji@gmail.com>, xml-dev@l...
- Date: Fri, 14 Aug 2009 12:33:23 +0100
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
---------- 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]
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|