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

new bie question

Subject: new bie question
From: chun ji <cji_work@xxxxxxxxx>
Date: Mon, 4 Dec 2006 15:26:57 -0800 (PST)
 new bie question
I have an index.xml file, which reads as: 
"
-<?xml version="1.0" encoding="ISO-8859-1" ?>
-<?xml-stylesheet href="rules.xsl" type="text/xsl"?>
-<protest>
    -<package>
           -<name>billing</name>
      -</package>
     -<package>
           -<name>timecard</name>
      -</package>
-</protest>
. 
There is a group of child xml files that associated
with each /protest/package/name, such as
"billing.xml", "timecard.xml". 

Now I have soming in my XSL file that tries to open
all these CHILD xml files, 

<xsl:for-each
select="document(document('index.xml')/protest/package/name)">

</xsl:for-each>
 
which fails, because I did not give .xml for each
child xml.   

Does someone know the format to do it ? 


thanks a lot 


cji 


 
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited

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-2011 All Rights Reserved.