Tuesday, December 15, 2009

How can I create a footnote in an xml document?

I know it's supposed to be anchored, but I just can't seem to make it work, and it's driving me crazyHow can I create a footnote in an xml document?
This has the all-purpose answer: It depends.





XML documents are structured representations of data, so (for answer 1) you may have a format that allows the definition of a ';footnote'; element. However, XML stands for eXtensible Markup Language and the ';extensible'; part means the language defines the rules by which data definitions are constructed, but not what the specific data definitions are. So, there is no single standard way to define or create a footnote.





If your XML document makes reference to a DTD (document type definition), it may list the tag needed to define a footnote element. Alternatively, if the XML is rendered into another format by an XSL stylesheet, and the stylesheet supports footnotes, you might be able to look at the stylesheet to find out what data element is being used.





Unfortunately, if the rendering method does not support a footnote, you may not be able to add one.

No comments:

Post a Comment