A
Andy
OK, I'm not sure what I'm missing here.
I'm working with this XML:
<?xml version="1.0" encoding="utf-8"?>
<GroupDataBlock xmlns="http://www.acme.com/data.dtd">
<GroupInfo>
<ProgramID>3002616</ProgramID>
</GroupInfo>
</GroupDataBlock>
and this XSL:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:value-of select="GroupDataBlock/GroupInfo/ProgramID" /><br />
</xsl:template>
</xsl:stylesheet>
Any idea why it won't show the ProgramID value?
Is there something in the DTD that I need to know to display this
correctly? Isn't the GroupInfo nested within the GroupDataBlock node?
Any help would be much appreciated.
Thanks,
Andy
I'm working with this XML:
<?xml version="1.0" encoding="utf-8"?>
<GroupDataBlock xmlns="http://www.acme.com/data.dtd">
<GroupInfo>
<ProgramID>3002616</ProgramID>
</GroupInfo>
</GroupDataBlock>
and this XSL:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:value-of select="GroupDataBlock/GroupInfo/ProgramID" /><br />
</xsl:template>
</xsl:stylesheet>
Any idea why it won't show the ProgramID value?
Is there something in the DTD that I need to know to display this
correctly? Isn't the GroupInfo nested within the GroupDataBlock node?
Any help would be much appreciated.
Thanks,
Andy