cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Lettmayer <slettma...@twix.sharkman5.2y.net>
Subject Re: FP taglib-Xpath Problem
Date Mon, 23 Apr 2001 10:12:42 GMT
On Mon, Apr 23, 2001 at 03:33:03PM +0530, sudhir muthal wrote:
> Hello Everybody there
> 
> I have similar problem. Can anyone please tell me what xpath I should use to 
> edit xml file using fp taglib. Here is My sample xml file.
> 
> 
> <?cocoon-process type="xslt"?>
> <pribook>
> <prisection1>
> <title>My Title</title>
> <para1>When you have a question about a Microsoft Office program, you can 
> ask the Office Assistant.</para1>
> 
> <para1>If the correct topic doesn't appear in the Assistant balloon, click 
> None of the above, look for more help on the Web at the bottom of the list 
> of topics.</para1>
> 
> <prisection2>
> <para1>You will get suggestions on how to phrase a question to the Office 
> Assistant or how to narrow your search by using keywords.</para1>
> 
> <para1>If you still can't find the information you want, you can send 
> feedback to improve future versions of Help and be automatically connected 
> to the Microsoft Office Update Web site to search for help there.</para1>
> </prisection2>
> </prisection1>
> </pribook>
> 
> I want to select second <para1> inside <prisection2> for editing purpose.

prisection2/para1[postion() = 2]

> 
> Is there any solution for this
> Thanks in advance.
> Sudhir Muthal
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 

-- 
Stefan Lettmayer
Web: http://sharkman5.2y.net/
ICQ: 67167870

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message