1. Open the xdo file for you report in a text editor
2. Insert the following attribute into the
xmlns="http://xmlns.oracle.com/oxp/xmlp"
The
<report version="1.1" xmlns="http://xmlns.oracle.com/oxp/xmlp" defaultDataSourceRef="dev">
...
</report>
Examples, Annoyances and Peculiarities with Oracle, Java and BI Publisher
xmlns="http://xmlns.oracle.com/oxp/xmlp"
<report version="1.1" xmlns="http://xmlns.oracle.com/oxp/xmlp" defaultDataSourceRef="dev">
...
</report>
There are many times I need to extract a single line (or possibly group of lines) from a file (Usually when things have gone wrong).
The easiest way to do this is as follows:
awk 'NR==lineNumber{print;exit;} filename
I have also seen the following suggested:
sed 'lineNumberq;d' filename
Ever seen the error "arg list too long" when issuing an ls with a wildcard? The simple way round this is as follows:
find . -name "regexp" -exec ls -l '{}' +
Where:
regexp is the regular expression you are searching for