|
Boost Users : |
Subject: Re: [Boost-users] Boost: Regex - XML
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2009-06-18 02:54:03
On Wed, Jun 10, 2009 at 2:19 PM, Etienne Philip
Pretorius<icewolfhunter_at_[hidden]> wrote:
> Just a general question,
>
> Could one use Boost.Regex to build a Well-Formed and Validating XML parser
> whose view is iterators to elements inside the XML document?
>
> In other words, create a class that acts like an XML parser so that you may
> derive from it to say create a XMPP class?
I don't think you could with regex because regex is not recursive.
However, you could make one in Spirit easily enough.
Or just use one of the thousands that already exist. :)
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net