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

Re: XSL-FO list with sublist

Subject: Re: XSL-FO list with sublist
From: Lucas Gonçalves Grossi <lggrossi@xxxxxxxxxx>
Date: Wed, 12 Dec 2007 18:20:58 -0200
Re:  XSL-FO list with sublist
Hi,

But the problem is my xml, that is like below. Inside gqmroot I have goals,
inside each goal I have questions and inside each question I have metrics. In
the normal XSLT I used the for-each and value-of to get each xml node. In this
way that you told me to do the list, I think I can't use that or am I wrong?


Thanks again,
Lucas


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

<?xml-stylesheet type="text/xsl" href="F-GESGQM.xsl"?>
<!-- New document created at Thu Oct 18 08:53:18 CEST 2007 -->

<gqmroot titleRoot="F-GES GQM">
	<goal titleGoal="G.1. Aumento della qualit` esterna">
		<question titleQuestion="Q.1.1. Quanti bug trova lutente? Quanti sono ad
alta priorit`?">
			<metric
				titleMetric="M.1.1.1. Numero di bug riportati nell'intervallo di tempo
considerato, divisi per centro di costo e per prodotto."
				ChartLink="gesGQMReport_M111.html">
			</metric>
			<metric
				titleMetric="M.1.1.2. Numero di bug ad alta priorit` riportati dallutente
al mese, divisi per centro di costo e per prodotto."
				ChartLink="gesGQMReport_M112.html">
			</metric></question>
		<question titleQuestion="Q.1.2. Quanto h soddisfatto lutente della nuova
release?">
			<metric
				titleMetric="M.1.2.1 Numero di richieste di cambiamento del sistema
nell'intervallo di tempo per quella release"
				ChartLink="gesGQMReport_M121.html">
			</metric>
			<metric
				titleMetric="M.1.2.2. Numero di bug riportati dall'utente nell'intervallo
di tempo facenti riferimento a quella release"
				ChartLink="">
			</metric>
			<metric
				titleMetric="M.1.2.3. Tempo medio di fix dei bug ad alta priorit`"
				ChartLink="">
			</metric>
		</question>
		<question titleQuestion="Q.1.3. Quanto viene usata una release prima che sia
rilasciata quella successiva?">
			<metric
				titleMetric="M.1.3.1. Effort di utilizzo dell'applicazione"
				ChartLink="">
			</metric></question>
		<question titleQuestion="Q.1.4. Qual h l'aderenza tra bisogno dell'utente
(identificato in una storia) e rilascio?">
			<metric
				titleMetric="M.1.4.1. Numero di richieste di cambiamento del sistema nel
primo intervallo di tempo"
				ChartLink="">
			</metric>
			<metric
				titleMetric="M.1.4.2. Valutazione soggettiva da parte dei beta-tester"
				ChartLink="">
			</metric>
			<metric
				titleMetric="M.1.4.3. Numero di falsi negativi tra le richieste di
intervento"
				ChartLink="">
			</metric>
		</question>
	</goal>
</gqmroot>


> Lucas,
>
> XSL-FO doesn't allow a list-item directly inside another list-item --
> but it does allow a list-item to contain a list.
>
> In fact, this is a more accurate representation of what is happening,
> isn't it? Item 1 contains the sublist 1.1, 1.2, 1.3 etc.
>
> So try placing a list inside your list-item, and your sublist items
> inside the list.
>
> Cheers,
> Wendell
>
> At 01:11 PM 12/12/2007, you wrote:
> >Hello,
> >
> >I'm having problem to create a list with sublists, like:
> >1.
> >    1.1
> >        1.1.1
> >2.
> >    2.1.
> >        2.1.1
> >
> >I don't need the numbers, it's just an example to ilustrate. I'm
> >trying to do like below, but xsl-fo don't accept <fo:list-item> inside
> >another <fo:list-item> without closing the first one. It generates and
> >error.
> >Can anybody help me?
>
>
> ======================================================================
> Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
> Mulberry Technologies, Inc.                http://www.mulberrytech.com
> 17 West Jefferson Street                    Direct Phone: 301/315-9635
> Suite 207                                          Phone: 301/315-9631
> Rockville, MD  20850                                 Fax: 301/315-8285
> ----------------------------------------------------------------------
>    Mulberry Technologies: A Consultancy Specializing in SGML and XML
> ======================================================================

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.