Re: XML ,XSL, XSLT problem
I think you want the <xsli>...</xsli> element.
Putting a stylesheet 'processing instruction' (not the same as an
opening tag) into the XML is not something I would do myself. I
prefer to allow for different outputs from the same source.
Re: XML ,XSL, XSLT problem
If you are controlling the document generation, then you will continue
to allow for this. Adding a stylesheet PI is simply a way to recommend
to the downstream user "if you want to see this the way I suggest, use
this stylesheet". You may in many cases be dealing with users who would
have no clue what to do with an XML file and may just blindly open it in
a browser, expecting it to do something meaningful....