Trying to get my head round antlr. 3.1

Processing a simple text file through to XML, looking at lists.

* kdkdkdkdk
* ldldldldld

Using the Lexer is easy enough to get into a list element markup,
is it possible to use the lexer to wrap all the list elements
in a list tag?

I.e. how to create

<list>
<item>kdkdkdk</item>
<item>ldldldl</item>
</list>


or is that a job for the Parser or AST?

TIA

-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to