I've been asked to provide some kind of xml solution for mainting content in a web site. So far, I cant find any examples other than iterating thru records and displaying it in a table... I'm not even sure xml is a good idea. Heres a quick example of what I need to do. Suppose I have these elements in a page that need updated regulary...
<page_source>
<title>First Page</title>
<message>message goes here...</message>
<conclusion>conslusion goes here...</conclusion>
</page_source>
Now comes the confusing part. I need to put together an XLS stylesheet to convert this into html. So far, all i can get it to do is output all the data from the xml page in a row.
Is there a way to access and put different peices of page_source here and there?
By the way, I'm using Oxygen.
Thanks,
Greg
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl=" version="1.0">
<xsl:template match="/">
<html>
<xsl:apply-templates/>
</xsl:element>
</html>
</xsl:template>
<xsl:template match="//page_source">
<font name="verdana" size="4">
<xsl:value-of select="title/text()"/>
</font>
</xsl:template>
</xsl:stylesheet>
<page_source>
<title>First Page</title>
<message>message goes here...</message>
<conclusion>conslusion goes here...</conclusion>
</page_source>
Now comes the confusing part. I need to put together an XLS stylesheet to convert this into html. So far, all i can get it to do is output all the data from the xml page in a row.
Is there a way to access and put different peices of page_source here and there?
By the way, I'm using Oxygen.
Thanks,
Greg
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl=" version="1.0">
<xsl:template match="/">
<html>
<xsl:apply-templates/>
</xsl:element>
</html>
</xsl:template>
<xsl:template match="//page_source">
<font name="verdana" size="4">
<xsl:value-of select="title/text()"/>
</font>
</xsl:template>
</xsl:stylesheet>