Joel de Guzman wrote:
Eric Niebler wrote:


I think a better, saner way to do this might be like:

  [phrase:xyzzy Blah blah blah]

which would be treated as phrase-level markup and get expanded into:

  <xyzzy>Blah blah blah</xyzzy>

Comments?


Sounds good to me. Some questions:

1) Does phrase/block really matter? why not simply reflect them
   and let the xml processor do the syntax check. So:

   [xml:xyzzy Blah blah blah]


Mainly, I was thinking about how we would fit it into QB's grammar. The rule for this will have to live in either block_grammar<> or phrase_grammar<>, no?



2) how do we support attributes?

    [xml:xyzzy(attrib1="xxx", attrib2="yyy") Blah blah blah]

?


Sure, that would work.


--
Eric Niebler
Boost Consulting
www.boost-consulting.com


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to