> anyway, this doesn't work:
> 
>   <TextNode>Some text</TextNode>
> 
> but this does:
> 
>   <TextNode text="Some text"/>

Ah, of course. BXMLSerializer needs a minor modification to allow inline text 
to work for TextNode.

> So a working example of what I wanted might be
> 
>   <Paragraph>
>     <Span font="{bold:true}">
>       <TextNode text="Label:"/>
>     </Span>
>     <TextNode text=" something of interest "/>
>     <Span font="{italic:true}">
>       <TextNode text="(some remark)"/>
>     </Span>
>   </Paragraph>
> 
> It would be very nice if whatever magic on Paragraph allows
> 
>   <Paragraph>This is a plain text paragraph</Paragraph>
> 
> would allow my example to be expressed as
> 
>   <Paragraph>
>     <Span font="{bold:true}">Label:</Span>
>     <Span> something of interest </Span>
>     <Span font="{italic:true}">(some remark)</Span>
>   </Paragraph>

I just checked in a minor update to Span. If you build from trunk, let me know 
if it works.

G

Reply via email to