Subject: FW: [xsl] XML transformation using XALAN From: "Najmi, Jamal" <Jamal.Najmi@xxxxxxxxxxx> Date: Wed, 17 Apr 2002 11:03:01 -0400 |
This is my response to Kevin regarding xalan transformation exception I am getting. Please give me any suggestions you might have. I am really stuck. Thanks!!! Jamal -----Original Message----- From: Najmi, Jamal Sent: Wednesday, April 17, 2002 2:59 PM To: 'Kevin.Gutch@xxxxxxxxxxx' Subject: RE: [xsl] XML transformation using XALAN Thanks Kevin!! I am on the right track now. XSL Transformer did not throw exception, but all the XSL code that involves refrences to the other namespace with namespace prefix of 'dne' did not produce anything as html code. So most of the html that was created is empty. On your advice this is what I did: old: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dne="/u01/discovery/constraints2.xsd" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xs="http://www.w3.org/2001/XMLSchema"> new: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dne="constraints2.xsd" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xs="http://www.w3.org/2001/XMLSchema"> I think I cannot completely take out this line from the XSL, since 'dne' is being used in the XSL as the namespace prefix for the elments that are comong from the constraints2.xsd namespace. All the XSDs and XSL are in the same directory now. Any suggestions.... Thanks Jamal -----Original Message----- From: Kevin.Gutch@xxxxxxxxxxx [mailto:Kevin.Gutch@xxxxxxxxxxx] Sent: Wednesday, April 17, 2002 2:28 PM To: Najmi, Jamal Subject: RE: [xsl] XML transformation using XALAN This could be the issue. I have seen this with my stuff before. Remove the path info or the DTD reference: e:\Discovery\Test\ Then either place the xsd in the same directory as the XSL or include its directory in your classpath. "Najmi, Jamal" <Jamal.Najmi@Ar To: "'Kevin.Gutch@xxxxxxxxxxx'" tesia.com> <Kevin.Gutch@xxxxxxxxxxx> cc: 04/17/2002 Subject: RE: [xsl] XML transformation using 09:16 AM XALAN Hi Kevin, Sure, here are the files. I need to transform Temaplate.xsd using GenericSXL5.xsl. I am using constraints2.xsd an my namespace to extend Template.xsd namespace. constraints2.xsd is being referred in both Template.xsd and GenericXSL5.xsd. I really appreciate your taking interest in this matter. I really am in a fix here and do not know what to do. XMLSpy does transformation just fine. When I use Xalan commandline API on Solaris box I get the exception I sent in my previous message. THANKS AGAIN!! Jamal -----Original Message----- From: Kevin.Gutch@xxxxxxxxxxx [mailto:Kevin.Gutch@xxxxxxxxxxx] Sent: Wednesday, April 17, 2002 2:07 PM To: Jamal.Najmi@xxxxxxxxxxx Subject: [xsl] XML transformation using XALAN Can you send the actual doc? It doesn't seem to like the way you have input you reference. Did you do it with some external tool? Kevin (See attached file: constraints2.xsd)(See attached file: GenericXSL5.xsl) (See attached file: Template.xsd) XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XML transformation using XALA, Najmi, Jamal | Thread | [xsl] XML Conversion Help Required, Anand M |
RE: [xsl] passing and retrieving pa, Najmi, Jamal | Date | [xsl] apply XSL to a spepicifc XML, Paolo Giovanni Limon |
Month |