[xsl] problem using document() in xslt

Subject: [xsl] problem using document() in xslt
From: davekennedy@xxxxxxxxxxxx
Date: Mon, 2 Feb 2004 11:47:31 -0500 (EST)
This is my first attempt at using multiple xml documents in a transformation.
I am using 4suite for the transformation and it is telling me that

<xsl:value-of select='document("meta.xml")/metadata/table/@name'/>

is an invalid URI.  "meta.xml" is definately in the same directory as the
xml and xsl files that I am transforming.

Here is meta.xml:

  <table name="Employee Information">
  <field name="emp_ID">
    <prettyprint>Employee ID</prettyprint>
  <field name ="emp_name">
    <prettyprint>Employee Name</prettyprint>
  <field name="emp_bday">
    <prettyprint>Employee Birthday</prettyprint>

I am trying to reference "Employee Information".  Any ideas?

Thanks much,

David Kennedy
Program Manager, Alescere LLC.
630.968.8950 x311

Find us on the web at http://www.alescere.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread