[PEPr] Comment on XML::XML_FastCreate
| From: | PEPr | Date: | Fri, 09 Apr 2004 08:13:58 +0000 |
| Subject: | [PEPr] Comment on XML::XML_FastCreate | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-27216@lists.php.net to get a copy of this message | ||
Guillaume Lecanu (http://pear.php.net/user/neokod) has commented on the proposal for
XML::XML_FastCreate.
Comment:
I have add to the package a perl script for vim users (adaptation to others editors is possible).
This script convert an HTML text selection to the XML_FastCreate style.
Just select the text, and press the shorcut sequence :)
# Before :
<table border=1 width="40%">
<tr>
<td>
<span> Hello </span>
</td>
<td align='center'>
<span> World </span>
</td>
</tr>
</table>
# After shorcut sequence :
$x->table(array('width'=>"40%", 'border'=>1),
$x->tr(
$x->td(
$x->span(
"Hello"
)
),
$x->td(array('align'=>"center"),
$x->span(
"World"
)
)
)
),
The perl script is directly accessible here :
http://lya.no-ip.com/pear/XML_FastCreate/scripts/
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=47
--
Sent by PEPr, the automatic proposal system at http://pear.php.net