Subject: Re: [xsl] Catalog file to use local version of dtd From: Mark <charltonrainbird@xxxxxxxxxxxxxx> Date: Tue, 18 Nov 2008 18:19:59 +0000 |
Owen You are absolutely correct, changing systemid to systemId does the trick. I changed other stuff along the way to get this working (which may or may not have also made the difference too) so if anyone is interested, my final catalog.xml file looked like this (covering two possible dtd locations, different to original simplified code): <?xml version="1.0" encoding="UTF-8"?> <catalog prefer="public" xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <system systemId="file://nastntx95001/common/Users/data/Maryellen.Guth/My%20Documents/Temp/LTBNA/Prod%20XML%20App/group-xml.dtd" uri="file:///D:/Content/MTG/xml/group-xml.dtd"/> <system systemId="file://nastntx95001/common/Users/data/Maryellen.Guth/My%20Documents/MTG08_David/LTBNA/Prod%20XML%20App/group-xml.dtd" uri="file:///D:/Content/MTG/xml/group-xml.dtd"/> </catalog> and my final command line (character > inserted to aid readability): <!-- EXISTING COMMAND LINE --> java -Xms512m -Xmx512m -DentityExpansionLimit=100000 > <!-- ADDITION TO COMMAND LINE TO USE CATALOG.XML --> -Dxml.catalog.files=file:///D:/Content/MTG/xml/catalog.xml -Dxml.catalog.verbosity=1 > <!-- EXISTING COMMAND LINE --> net.sf.saxon.Transform <!-- ADDITION TO COMMAND LINE TO USE CATALOG.XML --> -r org.apache.xml.resolver.tools.CatalogResolver > -x org.apache.xml.resolver.tools.ResolvingXMLReader > -y org.apache.xml.resolver.tools.ResolvingXMLReader > <!-- EXISTING COMMAND LINE --> -o D:/Content/MTG/html/mtg_00.htm D:/Content/MTG/xml/mtg.xml mtg.xsl Thanks again for the help. Mark > Attribute names are case sensitive so you might try systemId instead of > systemid.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Catalog file to use local, Owen Rees | Thread | [xsl] How the other half live, Dave Pawson |
Re: [xsl] Working example xml+xsl t, eleonora46 | Date | Re: [xsl] Working example xml+xsl t, eleonora46 |
Month |