• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cocoon and document() function

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am attempting to use the document() function in an XSL style sheet to load an XML document. I use a string with the name of the filename as the argument to the function. The XSL file and the XML to load are in the same directory. If the XML contains a DOCTYPE element the load fails. (The XML has been validate in XML Spy prior to trying to load it.) The dtd is also in the same directory. If I comment out the DOCTYPE element, then the XML file loads without a problem. We are using the Xalan processor for our XSL transformations with in the Cocoon web framework.
Does anyone one know of any problems with the document() function in this environment?
Thanks, Russ
 
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It looks like someone else has encountered it - see the link below.
http://tecfa.unige.ch/guides/xml/cocoon/includes/problem.text
[This message has been edited by Jim Baiter (edited March 13, 2001).]
 
reply
    Bookmark Topic Watch Topic
  • New Topic