Re: DBIx::XML::DataLoader
- From: Lord of Hyphens <lordofhyphens@xxxxxxxxx>
- Date: Fri, 25 Apr 2008 06:24:28 -0700 (PDT)
On Apr 24, 2:25 am, Martijn Lievaart <m...@xxxxxxxxxxxxxxxx> wrote:
On Wed, 23 Apr 2008 19:37:58 +0200, Peter J. Holzer wrote:
On 2008-04-15 02:10, Ted <r.ted.by...@xxxxxxxxxx> wrote:
The table element is of most interest. Obviously, I can create a suite
of tables that correspond to the structure of the XML file. Also
obviously not all columns in the database are keys or indeces. And, I
have no idea what XPATH is, let alone what to do with it.
XPath is like Perl. It gets cranky when it's spelt in all upper case
;-).
Seriously: XPath is a language for selecting stuff from an XML file.
Sort of what regexps are for plain text or SQL for relational databases.
You can find the specification athttp://www.w3.org/TR/xpath20/and
google will help you find tutorials (Sorry, I don't have a good one at
hand - you'll probably have to read several of them and the specs, too
to get the hang of it).
May I advice the OP to get the O'Reilly XML book? Even if it's not the
solution to his problem, it's money well spend. It explains XPath not
downto all details but good enough to get you going. Once you get it it's
not so hard, but that book is probably the easiest way to get started.
HTH,
M4
The book you're talking about is actually the XSLT book; all of the
xpath query language is in that (I have both).
--LoH
.
- Follow-Ups:
- Re: DBIx::XML::DataLoader
- From: Lord of Hyphens
- Re: DBIx::XML::DataLoader
- References:
- DBIx::XML::DataLoader
- From: Ted
- Re: DBIx::XML::DataLoader
- From: Peter J. Holzer
- Re: DBIx::XML::DataLoader
- From: Martijn Lievaart
- DBIx::XML::DataLoader
- Prev by Date: Re: Help: Print lines
- Next by Date: Re: DBIx::XML::DataLoader
- Previous by thread: Re: DBIx::XML::DataLoader
- Next by thread: Re: DBIx::XML::DataLoader
- Index(es):
Relevant Pages
|