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

Document function and DTD

Subject: Document function and DTD
From: jingjun long <longjingjun@xxxxxxxxx>
Date: Thu, 27 Dec 2007 16:47:37 +0800
 Document function and DTD
hi there,

I am using document function to read multiple XML document as the
source. I have a question and wonder if you have experience this before.

In the XSLT, I say:

<xsl:variable name="src_doc" select="document('src.xml')"/>

If there is no DocType definition in src.xml, it is ok.

In my case, there is a DocType definition in src.xml. The DTD is not in
the same folder where src.xml is. I use catalog file to locate the DTD
file. In this case, I get "can not find DTD file" error when I run the xslt.

My question is, is there any way to set catalog resolver for document
function?

Thank you in advance

Jingjun

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