Subject: Re: [xsl] Newbie Q: Genealogy Example and Saxon From: P Vikram <vikram_good_boy@xxxxxxxxx> Date: Tue, 4 Sep 2001 09:29:38 -0700 (PDT) |
Hi All <XML id="testXML"></XML> <XML id="testXSL"></XML> testXSL.load("test.xsl"); testXML.documentElement.transformNode(testXSL.documentElement); now i want to retrieve all values in <A> tags <A>test</A><A>test1</A>.... selectXML.documentElement.selectSingleNode("//A").text; works for a onr <A> tag only. Any Ideas Thanks --- L Rutker <lrutker@xxxxxxxxxxx> wrote: > I changed my classpath and removed all references to > jdom xalan and xerces. > The error message changed to the following: > > Error > The SAX2 parser does not support a required > namespace feature > Transformation failed > > Is this progressing? :) > I would appreciate any help > Thanks > Lou > >Hi, > >I am trying to use the code in Michael Kay's book > (second ed). > >The first thing I tried was converting the gedcom > to xml using the > >GedcomParser. > >Here is what I tried from the command line: > >C:\family-tree>java -classpath c:\\jars\saxon.jar > com.icl.saxon.StyleSheet > >-x GedcomParser Kennedy.ged normalize.xsl >test.xml > > > >I am getting the error of "Failed to load > GedcomParser" (see stack trace > >below). > >I tried it with both Sasxon 6.22 and 6.3. > >I even tried recompiling the classes from the code > that I downloaded from > >wrox.com The code compiled but the error didnt go > away when I tried to do > >the transform. > >What am I doing wrong? > > > >Thanks Lou > > > >Exception in thread "main" > >javax.xml.transform.TransformerFactoryConfigurationEr > >ror: javax.xml.transform.TransformerException: > Failed to load GedcomParser > > at > >com.icl.saxon.TransformerFactoryImpl.makeParser(TransformerFactoryImp > >l.java:496) > > at > >com.icl.saxon.TransformerFactoryImpl.getSourceParser(TransformerFacto > >ryImpl.java:456) > > at > com.icl.saxon.StyleSheet.doMain(StyleSheet.java:279) > > at > com.icl.saxon.StyleSheet.main(StyleSheet.java:62) > > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at > http://explorer.msn.com/intl.asp > > > XSL-List info and archive: > http://www.mulberrytech.com/xsl/xsl-list > __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Newbie Q: Genealogy Examp, L Rutker | Thread | RE: [xsl] Newbie Q: Genealogy Examp, Michael Kay |
RE: [xsl] Get rid of lines break., Chris Bayes | Date | RE: [xsl] default meta tag Revisted, Tanzila Mohammad |
Month |