I am writing a simple flashcard application to help me learning languages -
I store the data in *.xml files. The DTD can be modified for any data file
as needed. Actual presentation is defined in separate *.xsl file. I am using
Microsoft's MSXML parser. The content of the *.xml file is read in DOM tree.
I do not know how to get the type and href of the <?xml:stylesheet?> PI from
the DOM. Can anyone post some code example? For the moment I just include
the name of the xsl stylesheet file as an attribute of the root element.
This is the only trick that makes my xml non-standard and I would like to
get rid of it.
Sorry if it is a dumb question.