Results 1 to 3 of 3

Thread: XML ,XSL, XSLT problem

  1. #1
    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

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    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.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    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....

Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,495,967.15403 seconds with 17 queries