Re: SourceTypeAction does not start a transformation

2010-04-07 Thread David Crossley
Tobias Neef wrote:
> 
> I like to transform a XML file with various namespaces into the xdoc
> format. The XML file is in the xdoc/sap directory and the
> transformation is also in place. My problem now is, that nothing
> appears on my screen when I want to have a look at the transformed
> file.

I don't know if this is relevant, but i did have trouble using
the "namespace" method.

See my comment in
http://issues.apache.org/jira/browse/FOR-1173
"
I did also try using the "namespace" method of SourceTypeAction.
It does detect that properly, but then something further down
the forrest processing gets confused about the namespace.
"

-David


Re: SourceTypeAction does not start a transformation

2010-04-07 Thread Ross Gardler

On 07/04/2010 15:43, Tobias Neef wrote:

Hello,

I like to transform a XML file with various namespaces into the xdoc
format. The XML file is in the xdoc/sap directory and the
transformation is also in place. My problem now is, that nothing
appears on my screen when I want to have a look at the transformed
file.


Can you take a look at the intermediate format document by requesting 
the *.xml version of your file. Do you see the expected XDoc?


This will tell you whether the problem is in your transformation from 
the source or to the HTML.


Ross



The header of the source file looks like this:


http://schemas.xmlsoap.org/soap/encoding/";
xmlns:rn1="urn:com.sap.aii.ib.server.api.types"
xmlns:rn2="java:sap/standard"
xmlns:rn3="urn:com.sap.aii.ibdir.server.api.types">

Now I like to filter based on the type of the message.

The relevant namespace for me is the rn3 namespace so I changed the
default sitemap to look like this:

http://apache.org/cocoon/sitemap/1.0";>
   
 
   

  ...
 
   
  
 
   
 
 
   
 
   
   
 
   
 
   

 
 
 
   
...
 
   
 
   
   
  
   
 
   
 
   
 
   
   
 
   
 
   
 
   


I also added a entry in the site.xml which appears in the menu but
does not work as suspected (just a blank page is produced).

   
 

 
   

Hope someone can help.

Regards,
Tobias




SourceTypeAction does not start a transformation

2010-04-07 Thread Tobias Neef
Hello,

I like to transform a XML file with various namespaces into the xdoc
format. The XML file is in the xdoc/sap directory and the
transformation is also in place. My problem now is, that nothing
appears on my screen when I want to have a look at the transformed
file.

The header of the source file looks like this:


http://schemas.xmlsoap.org/soap/encoding/";
xmlns:rn1="urn:com.sap.aii.ib.server.api.types"
xmlns:rn2="java:sap/standard"
xmlns:rn3="urn:com.sap.aii.ibdir.server.api.types">

Now I like to filter based on the type of the message.

The relevant namespace for me is the rn3 namespace so I changed the
default sitemap to look like this:

http://apache.org/cocoon/sitemap/1.0";>
  

  

 ...

  
 

  


  

  
  

  

  
   



  
...

  

  
  
 
  

  

  

  
  

  

  

  


I also added a entry in the site.xml which appears in the menu but
does not work as suspected (just a blank page is produced).

  

   

  

Hope someone can help.

Regards,
Tobias