Subject: [xsl] sequential grouping question From: hb <reganmian@xxxxxxxxx> Date: Fri, 15 Nov 2002 09:20:01 -0800 (PST) |
Hi stuck by belowed grouping problem, Is it possible to give any suggestion ? ++++++++++++ begin schema +++++++++++ <xs:element name="LETTERMSG"> <xs:complexType> <xs:sequence> <xs:element ref="snoopy-a"/> <xs:element ref="snoopy-b"/> <xs:element ref="snoopy-c"/> <xs:element ref="Harry-GROUP"/> <xs:element ref="snoopy-d"/> <xs:element ref="snoopy-e"/> <xs:element ref="MickeyMouse-GROUP"/> <xs:element ref="snoopy-f"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> ++++++++++++ end schema +++++++++++ ++++++++++++ begin output +++++++++++ snoopy-a goto room(1) snoopy-b goto room(2) snoopy-c goto room(3) snoopy-a back form room(1) snoopy-b back form room(2) snoopy-c back form room(3) Hacked Harry-GROUP, putinto safetybox(1) get Harry-GROUP form safetybox(1) snoopy-d goto room(1) snoopy-e goto room(2) snoopy-d back form room(1) snoopy-e back form room(2) Hacked MickeyMouse-GROUP, putinto safetybox(1) get MickeyMouse-GROUP form safetybox(1) snoopy-f goto room(1) snoopy-f back form room(1) +++++++++++ end output +++++++++++ the desired output need to be 1) by SEQUENCE 2) by different TYPE(group or simple element) (it's dynamic because, the style sheet have to apply different schema of LETTERMSG) Is there any idea ? Many thanks Paul __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] <fo:external-graphic and coco, Johannes . Becker | Thread | Re: [xsl] sequential grouping quest, Joerg Heinicke |
Re: [xsl] Write specific String, Yann Verlynde | Date | Re: [xsl] How can I chang the value, Mike Brown |
Month |