|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Setting Base URL For Resolivng xsl:include/xsl:imp
Eliot Kimber wrote:
Jeni Tennison wrote: 1. Was my expectation justified or have I misunderstood how URL resolution works generally or in XSLT or in Saxon? The error was actually in my style sheet: I had failed to declare the input document's base namespace in the style sheet, which, because of the way I had defined the main template (match="*"), had the effect of not using the template in the included XSL file. My included style sheet only had a template for "xi:include", but the outter style sheet didn't declare the XInclude name space. In any case, the "*" matched xi:include (even though I put a higher priority on the xi:include template). Doh! This was a side effect of my being new to Schemas--I had created a schema-based document, which of course requires the use of a root-level namespace (in this case defined as the default namespace). Because the input elements weren't themselves qualified in the XML instance I forgot that the namespace has to be declared in the style sheet and used in the match values. Everything works now. Cheers, Eliot -- W. Eliot Kimber Professional Services Innodata Isogen 9030 Research Blvd, #410 Austin, TX 78758 (512) 372-8122 eliot@xxxxxxxxxxxxxxxxxxx www.innodata-isogen.com
|
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
|

Cart








