added literals
added integer files
replace " " with "_" in the field name
here is the for loop
find . -name \*.tidy -print -exec bash ../process.sh TREE_NODE {} \; > log.txt 2>&1
process.sh :
----------------------------------------------------------
# here we process the files passed as a parameter
jobname=$1
filename=$2
xsltproc -stringparam inputfile $filename ~/experiments/sp/gcc/svn/build2/gcc/tree_2_rdf.xsl $filename > ${jobname}.rdf
File Added: tree_2_rdf.xsl
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=147871
Originator: YES
here is a start of an xsl to process the output of the new gcc xml
and a change to emit the param name of the function
File Added: svn.diff-5
patches for the two files
Logged In: YES
user_id=147871
Originator: YES
I have created a simple rdf transformation that works on the split files:
1. split the file :
xml_split -b tree-dump-split/split -cdequeue_and_dump tree-dump.i .xml.tidy
2. transform a fragment into rdf :
xsltproc ~/experiments/sp/gcc/svn/build2/gcc/tree_2_rdf.xsl split-25.tidy
3. pull the fragment into redland :
rdfproc TEST parse test.rdf
4. serialize :
rdfproc TEST serialize ntriples
if the rdf file has the same name and is overwritten, then redland will merge all the graphs.
File Added: tree_2_rdf.xsl
updated version
Logged In: YES
user_id=147871
Originator: YES
added literals
added integer files
replace " " with "_" in the field name
here is the for loop
find . -name \*.tidy -print -exec bash ../process.sh TREE_NODE {} \; > log.txt 2>&1
process.sh :
----------------------------------------------------------
# here we process the files passed as a parameter
jobname=$1
filename=$2
xsltproc -stringparam inputfile $filename ~/experiments/sp/gcc/svn/build2/gcc/tree_2_rdf.xsl $filename > ${jobname}.rdf
File Added: tree_2_rdf.xsl