in reply to Re: Re: How do I replace brackets with XML tags?
in thread How do I replace brackets with XML tags?

I screwed up on my reply. Here's another try,
leaving off the opening on the xml tags so it's
not interpreted as html:
Before:

@interface {
i : in(1);
o : out(1);
}

After:

interface>
in name="i" width="1"
out name="o" width="1"/
/interface>

The main trick is changing that closing bracket,
since there are other closing brackets that have
different names.
Thanks.
  • Comment on Re: Re: How do I replace brackets with XML tags?