Re: DBIx::XML::DataLoader



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
.



Relevant Pages

  • Re: DBIx::XML::DataLoader
    ... Is there a package or utility that can read an XML file of the sort I ... The dbinfo specifies the login ... credentials to the database, and the database. ... And, I have no idea what XPATH is, let alone what to do with it. ...
    (comp.lang.perl.misc)
  • Re: DBIx::XML::DataLoader
    ... obviously not all columns in the database are keys or indeces. ... XPath is like Perl. ... XPath is a language for selecting stuff from an XML file. ... May I advice the OP to get the O'Reilly XML book? ...
    (comp.lang.perl.misc)
  • Re: DBIx::XML::DataLoader
    ... obviously not all columns in the database are keys or indeces. ... have no idea what XPATH is, let alone what to do with it. ...
    (comp.lang.perl.misc)
  • Re: XML parser and writer
    ... XStream, Castor, JAXB come to mind. ... why not some database technology? ... an advanced user can edit the XML file directly at ...
    (comp.lang.java.programmer)
  • Re: rules engine ideas? Trying to prevent tons of conditional branches in a logic filter.
    ... One thing you could do is to place your rules in a database. ... consists of an XPath expression for the operand, and operator, the value you ... compare against, and the score. ... apply each of the Xpath queries to ...
    (microsoft.public.dotnet.languages.csharp)