This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Doesn't' work // FW: How To Include external XSL files into a master XSL file


/ "Jim Garrett" <jgarrett@navix.net> was heard to say:
| I attempted to use the
| <xsl:include ...>
| directive ....
| inside of the master xsl file as follows
| 
| <?xml version='1.0'?>
| <xsl:stylesheet xmlns:xsl="http://www.w3.org>

That's not the right URI. And it's not wellformed. But that's
probably just a typo.

| <!-- include the header.xsl file here -->
| <!-- how to include syntax here -->
| <xsl:include href="header.xsl">
| </xsl:include>

Try

  <xsl:include href="header.xsl"/>

It's possible that the processor is complaining because xsl:include
isn't empty in your document (that newline counts as data).

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Everything in the univese goes by
http://nwalsh.com/                 | indirection. There are no straight
                                   | lines.--Emerson


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]