aspose file tools*
The moose likes XML and Related Technologies and the fly likes Pipeline.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Pipeline.xml" Watch "Pipeline.xml" New topic
Author

Pipeline.xml

zubair zameel
Greenhorn

Joined: May 26, 2006
Posts: 5
Hi,
can any one explain pipeline.xml works with an example. iam really getting no stuff to go through.
Clifton Craig
Ranch Hand

Joined: May 26, 2006
Posts: 103
I'm not sure what you mean. I've pipelined XSL transformations together and I can help with that if you're interested...


Holla at me...<br /><a href="http://codeforfun.wordpress.com" target="_blank" rel="nofollow">http://codeforfun.wordpress.com</a>
zubair zameel
Greenhorn

Joined: May 26, 2006
Posts: 5
Hi Craig,
Thanks for ur rply... It will be of great help to me if you explain the process of pipeline with an example. What is its purpose , use , its working , where it should be placed in the directory , how many pipeline.xml files can be for a project.....right now iam working on j2ee project. what ever stuff u have, it may be helpful.
Plz try to explain with an example(s) and if you have any material give the link also.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18121
    
    8

We need some context. Are you working with an application that uses a file named "pipeline.xml"? If so, what application is it? Or are you asking a generic question about some "pipeline" concept? If so, where did you hear about this concept?

Right now we are just guessing about what you are asking.
Clifton Craig
Ranch Hand

Joined: May 26, 2006
Posts: 103
Well I'm still not sure if we're on the same page but I'll shoot. I've used pipelining with XSL (not XML) to combine the processing of multiple stylesheets. I'm talking XSL here which is the transformation of XML. The reason I needed it was to overcome a shortcoming in my XSL-FO processor. (I used an FO processor, FOP, to convert the transformed XML into a PDF document.) The process in general works like this. Let's say you have two stylesheets, a.xsl and b.xsl, and an xml, c.xml. You push c.xml through a transofrm with a.xsl and feed its results to b.xsl which does further transformation. In my situation, I had to manually handle my page breaks in my resulting PDF document so I transformed my XML into a partial XSL-FO syntax with one stylesheet and piped the results to the other stylesheet using the Java TrAX API. I can give you an example of how to chain together two XSLT stylesheets using the API but I'm not quite sure that's what you're after.
zubair zameel
Greenhorn

Joined: May 26, 2006
Posts: 5
Hi all,
happy to see ur rplys.... certainly iam using pipeline.xml file in my project. Sorry that i did not give a clear explanation for u.
my question is in general.
what is a pipeline? what are its uses, purpose ? How can we use pipeline.xml in a project.
Friends please make sure use an example so that i can understand. Explain even with a small application also. I will try to understand it.
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
Read w3c doc here:

XML Pipeline Definition Language Version 1.0


I think it will definitely help!
zubair zameel
Greenhorn

Joined: May 26, 2006
Posts: 5
Hi friends,
Thanks for responding with answers. I will go through those materials . I appreciate all of you.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Pipeline.xml