Quoting nico
On Mon, 11 Jun 2007 11:42:23 -0400, Aditya Mahajan
wrote: Thanks. I had not looked at them and some of the things about handling at the ConTeXt end are more clear now. But I think that I did not explain my question correctly.
What I do not understand how are abbreviations etc. handled by xslt for conversion into html. For example, how do I write an xsl style sheet that converts this xml input
<p> I study <abbrev value="EECS"> which stands for
</p> into html as
<p> I study EECS which stands for Electrical Engineering and Computer Science </p>
I know that this is not the right list to ask this sort of questions, but I am hoping that there are xml users here and they will be able to point me to the right direction.
I haven't followed the thread, but attached an idea of doing what you want with XSLT. Note that your example is not valid at all (commas between attributes, missing ending '/' for empty elements).
Thank you. This is exactly what I wanted. I will now go back to using xml for simple documents and see how things go.
BTW, it's not a good idea to use the same attribute ("value") as an reference identifier, and for referencing to another element.
Ok. I will keep this in mind. Thanks, Aditya