Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links

XML ,XSL, XSLT problem

Software Development

Thread Tools Search this Thread
Old 25-10-2008
Join Date: Aug 2006
Posts: 139
XML ,XSL, XSLT problem

Hello friends

I need a solution style sheet that will transform XML to XML. However I
want the style sheet to output a complete style sheet tag too i.e. <?
xsl:style sheet version..... ?> to the resultant XML document.

Any ideas please? I hope I have explained it all well enough.

Thank you

Reply With Quote
Old 25-10-2008
Join Date: Apr 2008
Posts: 1,949
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.
Reply With Quote
Old 25-10-2008
Join Date: May 2008
Posts: 2,015
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....
Reply With Quote

  TechArena Community > Software > Software Development
Tags: , ,

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads for: "XML ,XSL, XSLT problem"
Thread Thread Starter Forum Replies Last Post
Use of XSLT Mithun Seth Software Development 5 13-02-2010 12:16 PM
How to Display XML with XSLT? SKREECH Software Development 4 02-02-2010 12:19 AM
Is XSL and XSLT are same Crespin Software Development 3 21-11-2009 04:58 AM
problem with xml et xslt manjava Software Development 0 28-12-2008 04:26 PM
problem in merging two sequences in xslt - Empty Shell - Software Development 6 25-10-2008 05:48 PM

All times are GMT +5.5. The time now is 06:06 PM.