Re: [CODE4LIB] Anyone familiar with XSLT? Im stuck

2016-01-21 Thread Eric Lease Morgan
> I have around 1400 xml files that I am trying to copy into one xml file so > that I can then pull out three elements from each and put into a single csv > file. What are three elements you want to pull out of each XML file, and what do you want the CSV file to look like? Your XML files are

Re: [CODE4LIB] Anyone familiar with XSLT? Im stuck

2016-01-21 Thread Kyle Banerjee
> > For simple situations one might do without XSLT and stuff > XPath expressions for the content to grab into the command > line of utilities like xml_grep or xpath. In many cases, it's even easier to use string utilities, particularly if there's any chance the XML is not totally valid. If

Re: [CODE4LIB] Anyone familiar with XSLT? Im stuck

2016-01-21 Thread Thomas Berger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 21.01.2016 um 19:39 schrieb Eric Lease Morgan: > Your XML files are pretty flat, and if I understand the question > correctly, then it is all but trivial to extract your three elements > as a line of CSV. Consequently I suggest foregoing the