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

my fist question.

Subject: my fist question.
From: "Carlos" <linux@xxxxxxxx>
Date: Mon, 11 Mar 2002 16:44:12 +0100
my fist
Hello this is my first question to this list.

i i have this xml file:

<?xml version="1.0" encoding="UTF-8"?>

<?xml version="1.0" encoding="UTF-8"?>

<FOROS>
    <FORO>
    <TITLE>TITLE 1</TITLE>
        <QUESTIONS>
            <QUESTION>
                <TITLE>TITLE 1 1</TITLE>
                <TEXT>TEXT 1 1</TEXT>
            </QUESTION>
            <QUESTION>
                <TITLE>TITLE 1 2</TITLE>
                <TEXT> TEXT 1 2QUESTION</TEXT>
                    <RESPUESTA>
                        <TITLE>TITLE 1 2 1</TITLE>
                        <TEXT>TEXT 1 2 1</TEXT>
                    </RESPUESTA>
                    <RESPUESTA>
                        <TITLE>TITLE 1 2 2</TITLE>
                        <TEXT>TEXT 1 2 2</TEXT>
                    </RESPUESTA>
                    <RESPUESTA>
                        <TITLE>TITLE 1 2 3</TITLE>
                        <TEXT> TEXT 1 2 3</TEXT>
                        <RESPUESTA>
                            <TITLE>TITLE 1 2 3 1</TITLE>
                            <TEXT> TEXT 1 2 3 1</TEXT>
                        </RESPUESTA>
                        <RESPUESTA>
                            <TITLE>TITLE 1 2 3 2</TITLE>
                            <TEXT> TEXT 1 2 3 2</TEXT>
                        </RESPUESTA>
                            <RESPUESTA>
                                <TITLE>TITLE 1 2 3 3</TITLE>
                                <TEXT>TEXT 1 2 3 2</TEXT>
                            </RESPUESTA>
                    </RESPUESTA>
            </QUESTION>
        </QUESTIONS>
    </FORO>
</FOROS>


how can i, with xsl file, format the output in this form:



TITLE 1
   TITLE 1 1
   TITLE 1 2
       TITLE 1 2 1
       TITLE 1 2 2
       TITLE 1 2 3
           TITLE 1 2 3 1
           TITLE 1 2 3 2


Using the xsl fiel, how can i format in that form? hoiw is the xsl syntax
for sorting that?
the xml file can be a big xml and it can have TITLE 1 X X X trees

Thanks
Carlos


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.