Search Results

Search: Posts Made By: BatManWSL
7,980
Posted By fpmurphy
XSLT is generally a better mechanism for handling...
XSLT is generally a better mechanism for handling this sort of document transformation.

Assuming you convert your XML document into a well formed XML document by adding a root element, the...
7,980
Posted By durden_tyler
I agree with fpmurphy on this mainly for two...
I agree with fpmurphy on this mainly for two reasons:
(a) complexity of Perl regular expressions increases with that of your XML processing requirements, and
(b) a change in the XML structure could...
2,749
Posted By durden_tyler
You will need to undefine the value of $/ in...
You will need to undefine the value of $/ in order to match multiline patterns in Perl -


$
$
$ cat -n theFile.txt
1 a
2 b
3 c
$
$
$ perl -pe 'BEGIN {undef $/}...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 11:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy