[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xml-dev] Parsing an XML file
- To: "Byarlay, Wayne A." <wab@...>
- Subject: Re: [xml-dev] Parsing an XML file
- From: Esteban Pizzini <esteban.pizzini@...>
- Date: Tue, 22 Nov 2005 13:03:59 -0300
- Cc: xml-dev@...
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=QUcOI1B+ed/brcs5rR8sM8ZXr2N7SiTZuEG9BjlgPWlNLwp9DH7TE3PvVtbVgqnrFHHmMpKwAxNYrU5jjpMqtWnin1R3oKgY9F1rhAUNVIFMvAIFnDjVu5fls6EzSdvtr3jpssNlhayobrb8+by/uy5DCWw8wRqwWEvr+a+CP8U=
- In-reply-to: <4F08953941A8A94AB6CE3A819B224B88032F13FD@...>
- References: <4F08953941A8A94AB6CE3A819B224B88032F13FD@...>
I think it's a good way
I solve the same problem using an XSLT with <xalan:write select="filename"> to write in different files.
an example:
<xalan:write select="$filename">
<html>
<head>
<title>Jurisprudencia que cita a la
presente</title>
<style type="text/css">
<xsl:value-of
select="$estilos_html"/>
</style>
</head>
<body>
</body>
On 11/21/05, Byarlay, Wayne A. <wab@...> wrote:
Hello again.
I have another happier question regarding XML.
I am a newbie but my boss has given me a very high priority on this. (Today, or at least before thanksgiving!)
I have a large 80mb xml file. It contains records of data, with several
fields for each record. I need to parse this large xml file into individual xml files, each containing just one record.
I have been investigating a perl module called xml::simple, and I was curious if this is the best / a good way to do what I need to do.
Apparently it only needs to be done once.
Any advice?
Wab.
----------------------------------------------------------------- The xml-dev list is sponsored by XML.org <
http://www.xml.org>, an initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription manager: <http://www.oasis-open.org/mlmanage/index.php>
-- ---------------------------------------------------------------------- Esteban Pizzini (http://mod-apache-snmp.sourceforge.net)
|