F
Fran Cotton
Hi, I'd greatly appreciate it if someone could cast light on my problem - I
can't seem to find any reference to it anywhere. Consider the following XML:
<paragraph> I am <emphasize>emphasized</emphasize> text inside a paragraph
</paragraph>
How do I go about transforming this into HTML like the following:
<P>I am <EM>emphasized</EM> text inside a paragraph</P>
The problem is that <emphasize> is a child of <paragraph>, but <paragraph>
itself contains textual data too. The best I can do is to get the emphasized
text output after the paragraph, not inside it!
One solution which I do not want to go down because of its unweildyness is:
<paragraph>
<text>I am </text>
<emphasize>emphasized</emphasize>
<text> text inside a paragraph </text>
</paragraph>
Many thanks in advance,
Fran
can't seem to find any reference to it anywhere. Consider the following XML:
<paragraph> I am <emphasize>emphasized</emphasize> text inside a paragraph
</paragraph>
How do I go about transforming this into HTML like the following:
<P>I am <EM>emphasized</EM> text inside a paragraph</P>
The problem is that <emphasize> is a child of <paragraph>, but <paragraph>
itself contains textual data too. The best I can do is to get the emphasized
text output after the paragraph, not inside it!
One solution which I do not want to go down because of its unweildyness is:
<paragraph>
<text>I am </text>
<emphasize>emphasized</emphasize>
<text> text inside a paragraph </text>
</paragraph>
Many thanks in advance,
Fran