Subject: Re: [xsl] document() loops From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx> Date: Thu, 12 Sep 2002 16:09:35 +0000 |
David, The following is the code and the explanation of my problem the code..
main xml. <?xml version="1.0"?> <univ-xml-list> <univ-xml>univ1.xml</univ-xml> <univ-xml>univ2.xml</univ-xml> <univ-xml>univ3.xml</univ-xml> </univ-xml-list>
********************************** <?xml version="1.0"?> <university-records> <univ-ids> <univ id = "KSU"> <name>Kansas State University</name> <location>Kansas</location> </univ> <univ id = "FAU"> <name>Florida Atlantic University</name> <location>Florida</location> </univ> <univ id = "MSU"> <name> Mississipi State University</name> <location> Mississipi </location> </univ> <univ id = "OSU"> <name>Ohio State University</name> <location> Ohio </location> </univ> </univ-ids> <university-results> <university univ-id = "KSU">100%</university> <university univ-id = "MSU">90%</university> <university univ-id = "FAU">80%</university> </university-results> </university-records>
********************************** <?xml version="1.0"?> <university-records> <univ-ids> <univ id = "OSU"> <name> Ohio State University</name> <location> Ohio </location> </univ> <univ id = "WSU"> <name> Wisconsin state University</name> <location> Wisconsin </location> </univ> <univ id = "RPI"> <name> Rensellar polytechnic Institute </name> <location> New Jersey </location> </univ> <univ id = "MSU"> <name> Mississipi State University</name> <location> Mississipi </location> </univ> </univ-ids> <university-results> <university univ-id = "OSU">70%</university> <university univ-id = "WSU">100%</university> <university univ-id = "RPI">100%</university> </university-results> </university-records> **********************************
univ3.xsl ********************************** <?xml version="1.0"?> <university-records> <univ-ids> <univ id = "NSU"> <name> Newyork State University</name> <location> Newyork </location> </univ> <univ id = "BU"> <name> Belmont University</name> <location> Belmont </location> </univ> <univ id = "WSU"> <name>Wisconsin state University</name> <location> Wisconsin </location> </univ> <univ id = "BCM"> <name> Berklee College of Music</name> <location> Berklee </location> </univ> </univ-ids> <university-results> <university univ-id = "NU">70%</university> <university univ-id = "BU">60%</university> <university univ-id = "BCM">100%</university> </university-results> </university-records>
<?xml version="1.0"?> <university-records> <univ-ids> <univ id = "NSU"> <name> Newyork State University</name> <location> Newyork </location> </univ> <univ id = "BU"> <name> Belmont University</name> <location> Belmont </location> </univ> <univ id = "WSU"> <name>Wisconsin state University</name> <location> Wisconsin </location> </univ> <univ id = "BCM"> <name> Berklee College of Music</name> <location> Berklee </location> </univ> <univ id = "KSU"> <name>Kansas State University</name> <location>Kansas</location> </univ> <univ id = "FAU"> <name>Florida Atlantic University</name> <location>Florida</location> </univ> <univ id = "OSU"> <name>Ohio State University</name> <location> Ohio </location> </univ> <univ id = "RPI"> <name> Rensellar polytechnic Institute </name> <location> New Jersey </location> </univ> <univ id = "MSU"> <name> Mississipi State University</name> <location> Mississipi </location> </univ> </univ-ids> <university-results> <university univ-id = "NU">70%</university> <university univ-id = "BU">60%</university> <university univ-id = "BCM">100%</university> <university univ-id = "OSU">70%</university> <university univ-id = "WSU">100%</university> <university univ-id = "RPI">100%</university> <university univ-id = "KSU">100%</university> <university univ-id = "MSU">90%</university> <university univ-id = "FAU">80%</university>
</university-results> </university-records>
From: David Carlisle <davidc@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] document() loops Date: Thu, 12 Sep 2002 16:18:22 +0100
> Can someone suggest me a way to do this?
your sketch looked valid so presumably the error is in the details of your code, so you'll need to post a small example.
David
_____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to keep é, David Carlisle | Thread | Re: [xsl] document() loops, David Carlisle |
[xsl] How to keep é, Allen Chu | Date | Re: [xsl] xsl:fo - keeps and breaks, G. Ken Holman |
Month |