Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Reading XML LibXML

by Jenda (Abbot)
on Oct 02, 2013 at 15:40 UTC ( #1056629=note: print w/replies, xml ) Need Help??


in reply to Re: Reading XML LibXML
in thread Reading XML LibXML

First, writing XSLT IS PROGRAMMING. No matter what the marketing guys say it's just as much programming as, say, writing SQL is.

Second, how's xml in xml in xml in xml that xml the xml to xml the xml xmling until xmlly xmled gonna help in converting the file into a data structure to be used in a program? Do you plan to write a stylesheeet that'd convert he xml into a piece of Perl code you can eval""? Or ... in case the program was supposed to import the data into a database, convert it to a bunch of SQL statements?

This more comprehensive solution is, more often than not, both next to impossible to read and, as soon as you happen to need anything but the very basic transformations, fragile and XSLT processor dependent. Even if both the source and the destination is XML, XSLT gives you little more than just the ability to change the structure. How much can you do with the tag contents or the values of the attributes? How do you fetch data from other sources?

Jenda
Enoch was right!
Enjoy the last years of Rome.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056629]
help
Chatterbox?
[Corion]: Meh. My bank removed (part of) their CSV download facilities. Now I will either have to implement a full scraper or automate the download using the HBCI interface instead (or just get a new account elsewhere...)
[Corion]: On the upside, I spend a lot of time thinking this weekend about how to actually implement rate limiting for futures, and if things work out, maybe even loading a configuration from an external file makes sense
[Corion]: I've also found some interesting invariants that I have to think/write about more. A simple rate limiter will never change the order of the input, while a limiter that allows for parallel execution will change the order. But my API currently allows for bo
[Corion]: ... for both, and I'm not sure if I want to add the cruft from the parallel API (a token that you need to hold on to while you hold the lock) to the rate limiting API too, to allow seamless up/downgrades, or not.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2017-10-23 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (277 votes). Check out past polls.

    Notices?