Hello. I'm currently working on a portfolio site where the large text portions are taken from external xml files. I've seen examples of simple xml templates such as:
<?xml version="1.0" encoding="UTF-8"?>
<div class="intro">
<h1>Heading</h1>
<b>Hello world</b>
</div>
can be imported with <xsl:apply-templates> and have the formatting be the same as if you viewed it with html.
However, when I attempted to apply this to my site, it only took the string values and concatenated them onto one line with no formatting at all. Can anyone please explain to me how to fix this. I copied this example directly from someone else, and I can't figure out what they did to make it work.
<?xml version="1.0" encoding="UTF-8"?>
<div class="intro">
<h1>Heading</h1>
<b>Hello world</b>
</div>
can be imported with <xsl:apply-templates> and have the formatting be the same as if you viewed it with html.
However, when I attempted to apply this to my site, it only took the string values and concatenated them onto one line with no formatting at all. Can anyone please explain to me how to fix this. I copied this example directly from someone else, and I can't figure out what they did to make it work.