Hi,
my XML tree currently looks like this:
<Header>
<Body>
<Text></Text>
<Subheader>
<Body>
<Text></Text>
</Body>
</Subheader>
</Body>
</Header>
I basically parse this XML file to display a html document which will have the form:
Header
// some text here
Subheader
// Some more text here
My question is what happens if inside the text portions of either Header or Subheader I want do some formatting to some words (i.e. bold, italics or undeline). Is there a way to do this other than including directly inside the text the html tags (like <b></b>). I want it to be so that anyone who uses my skeleton xml file would have to just copy/paste their text and almost everything would be formatted for them (minimal effort required from them).
my XML tree currently looks like this:
<Header>
<Body>
<Text></Text>
<Subheader>
<Body>
<Text></Text>
</Body>
</Subheader>
</Body>
</Header>
I basically parse this XML file to display a html document which will have the form:
Header
// some text here
Subheader
// Some more text here
My question is what happens if inside the text portions of either Header or Subheader I want do some formatting to some words (i.e. bold, italics or undeline). Is there a way to do this other than including directly inside the text the html tags (like <b></b>). I want it to be so that anyone who uses my skeleton xml file would have to just copy/paste their text and almost everything would be formatted for them (minimal effort required from them).