[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] using document() function - first iteration is OK; sec
> hi - > > I am processing an input xml file (say input.xml) via (report.xsl) to generate a report. > > report.xsl in turn loads another *xml file (schema.xml) through document() function so as to process the input.xml. <schema.xml> contains some look-up information dictating how <input.xml> need to be processed. > > Here is how I am referencing the "schema.xml" in the "report.xsl". > > <xsl:variable name="schemaFile" select="document('schema.xml')"/> > <xsl:variable name="schemaRoot" select="$schemaFile/Schema"/> > <xsl:variable name="schemaList" select="$schemaRoot/SchemaFactors"/> > > When I run the report first time (my appserver is weblogic 7.0), everything is working fine. I see the results I wanted. > > However, when I run the report for the second time during the same session, I am getting "schemaList" as empty. > > The values of "schemaFIle" and "schemaRoot" appear to be correctly loaded in both the cases. The problem is with "schemaList" variable which is coming out empty during the second iteration. > > can any of you please throw some pointers on why this is happening and how to resolve this? > > thanks > - siva jasthi > Siva R Jasthi EDS PLM Solutions 4233 Lexington Avenue N., Suite 3290 Arden Hills, MN 55126-6198 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|