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

compose my document dynamicly!

Subject: compose my document dynamicly!
From: Red Light <skydelta98@xxxxxxxxx>
Date: Tue, 1 Jun 2010 02:35:21 -0700 (PDT)
 compose my document dynamicly!
Hi,

i have a dynamic application where i got section(which represent a complete PDF page, i'm using apache fop...), and "block" which are composition to the page , a page could contain
multiple blocks.


i got an xml source which contain the section, and the block ordered like above:


<sectionOrdering>
	<id_section>23</id_section>
	<id_block>23</id_block>
	<nameSection>HR</nameSection>
	<nameBlock>HR</nameBlock>
</sectionOrdering>
<sectionOrdering>
	<id_section>25</id_section>
	<id_block>25</id_block>
	<nameSection>Sales</nameSection>
	<nameBlock>sales_car</nameBlock>
</sectionOrdering>
<sectionOrdering>
	<id_section>25</id_section>
	<id_block>40</id_block>
	<nameSection>Sales</nameSection>
	<nameBlock>sales_moto</nameBlock>
</sectionOrdering>




because i don't know the order of the section of the block ... i have to dynamicly display the section and their blocks..


if i take this example:

<sectionOrdering>
	<id_section>25</id_section>
	<id_block>25</id_block>
	<nameSection>Sales</nameSection>
	<nameBlock>sales_car</nameBlock>
</sectionOrdering>
<sectionOrdering>
	<id_section>25</id_section>
	<id_block>40</id_block>
	<nameSection>Sales</nameSection>
	<nameBlock>sales_moto</nameBlock>
</sectionOrdering>


my xsl template "should"  do  a breakpage , then print the title "Sales" then go fetch dynamicly the blocks (which represent xsl:tempalte with the exact name of the vaue of the <nameBlock>)
and print successivly!



plz could anyone help to prototype this?



and thanks 

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.