Displaying 1 result from an estimated 1 matches for "sax2parser".
2006 Jul 26
0
SAX Parsing and erb?
...2Listener class. WHat''s the equivalent
with erb? And how do I combine my partials with it as well? eRB is a
pull type interaction, but SAX is a push, and it makes it hard. So here
is a little example of what I''m thinking:
Hi <%= @name %><br/>
<%
parser = SAX2Parser.new
myListener = MyListener.new( ???? ) <-- pass the PrintWriter object
like thing here?
parser.parse
%>
Sincerely,
<%= @management %>
<hr/>
<%= @advertisements %>
--
Posted via http://www.ruby-forum.com/.