cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: [C2] Moving to Xalan2
Date Tue, 03 Oct 2000 17:09:56 GMT
Sorry, Picked up files from the wrong directory. Here they are again.

--- Davanum Srinivas <dims@yahoo.com> wrote:
> Scott,
> 
> Am geeting inconsistent results from trax.Processor depending on how i load the XML and
XSL
> files.
> Have attached a modified TransformToDom.java with foo.xml and foo.xsl files which can
recreate
> the
> problem. Please let us know. This affects moving C2 to Xalan2. The foo.xml is the sitemap
and
> the
> foo.xsl is for transforming the sitemap to java code.
> 
> java TransformToDom -file        <<<<< works without problems. see foo.out
> java TransformToDom -dom         <<<<< generates garbage. see foo.out
> 
> Thanks,
> dims
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
> http://photos.yahoo.com/

> ATTACHMENT part 2 application/octet-stream name=TransformToDom.java
> <?xml version="1.0"?> 
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
>   <xsl:template match="doc">
>     <out><xsl:value-of select="."/></out>
>   </xsl:template>
> </xsl:stylesheet>
> > <?xml version="1.0"?>
> <doc>Hello</doc>


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/
Mime
View raw message