[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

I need advice on building an XSL stylesheet

Subject: I need advice on building an XSL stylesheet
From: D P <asiancuteboy71@xxxxxxxxxxx>
Date: Thu, 5 Mar 2009 14:29:07 -0500
 I need advice on building an XSL stylesheet
Hi all,

   I have the following XML code:





        xxx
        xxx




        X12
        100
        2008-06-04T15:05:08.750


        SlickProviderApp
        2
        1


        A4Healthcare


        NewMMIS


        834-BenefitEnrollment
        2008-07-16T14:26:08.750
        false
        false
        false
        testFile
        6506
        2008-07-16T14:26:08.750
        xxx
        xxx
        xxx





          CompuSense




          MassHealth


      EDIInterface/1.5/EDI837Sync
      asyncRequestResponse
      -1




      &lt;![CDATA[VOTEST]]&gt;




   I am new to XSL and have been playing around with its syntax to modify
(add) prefixes, trying to design a stylesheet that will transform the above
XML code to the following output (note the prefixes added to certain nodes):





          xxx
    xxx





            X12
            100
            2008-06-04T15:05:08.750


            SlickProviderApp
            2
            1


            A4Healthcare


            NewMMIS


            834-BenefitEnrollment
            2008-07-16T14:26:08.750
            false
            false
            false
            testFile
            6506
            2008-07-16T14:26:08.750
            xxx
            xxx
            xxx





               CompuSense




               MassHealth


         EDIInterface/1.5/EDI837Sync
         asyncRequestResponse
         -1




   <![CDATA[VOTEST]]>




   I have not been successful in any attempt to add those prefixes to the XML
output, and would like feedback on how to design such a style sheet that will
enable me to accomplish my goal. I am using XSL version 1.0.

   Thanks for reading and I appreciate any help!

   Dan.

_________________________________________________________________
Windows Live Contacts: Organize your contact list.
http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cn
s!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.