Subject: Re: [xsl] Error message saying doc is not well formed, solved! From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 05 May 2011 11:49:10 -0400 |
Turns out that when I took this stylesheet out of system A and plugged it into system B, it caused templates to be run out of order. It had a match attribute that was the same as the match attribute of a system B template that should have been run first. Instead, the template in this stylesheet ran first, skipping all the code that writes out the enclosing<html> and<body> tags.
My plan is to attach a mode to the template in this stylesheet so I can have better control over when it runs.
If anyone has a suggestion for a better way to control when this template runs, I'd be glad to hear it. (Want to still use<apply-templates>, not call-template.)
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Error message saying doc is n, Steve Fogel | Thread | [xsl] Find node with no child text(, Karl Stubsjoen |
Re: [xsl] Looking for a concise way, Andrew Welch | Date | Re: [xsl] Looking for a concise way, John McGowan |
Month |