Hi all,
I have a number of XML-documents with different names. Each of them is a member of 
some XML-type, that is described by root node of a document.
For example, 
"type1.xml":
<?xml version="1.0"?>
<DocumentType1>
        <node1/>
        <node1/>
        <node1/>
        ...
</DocumentType1>

"type2.xml":
<?xml version="1.0"?>
<DocumentType2>
        <node2/>
        <node2/>
        <node2/>
        ...
</DocumentType2>

How way can I select XSL-stylesheet for transformation depending on the root element 
of XML-document requested? 

Thanks,
Peter Velichko
_______________________________________________________________
Прослушай любимые песни и проголосуй за них на http://mp3.bigmir.net
Хит-парад от радиостанции Хит-ФМ Украина и портала bigmir)net

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to