Re: Another XML Problem...
Re: Another XML Problem...
Hi,
Anser to the last question, an external DTD.
With the reltive question about good proactices in XML. XML is an undefined language with not specific set standards of tags, elements and a "formatted" way of writing or setting out your page, much to the opposite of HTML.
There are no good and bad practices in this, onlly if you are interoperating and communicating with other businesses do you need to standardise your tag layout and practice, as it needs to be the same as the other user, so the answer to your question is whatever youre comfortable with.
Duno about your elements question. ill get back to you.
Kai
Re: Another XML Problem...
Re: Another XML Problem...
Hi,
It is possible to display the attributes of the root element. In the XSL file it will look something like this:
<xsl:template match="/">
<html>
<body>
<xsl:value-of select="root element/@attribute" />
</body>
</html>
</xsl:template>
ie. you navigate to the location of the attribute using Xpath commands