RE: Extracting a sub-tree as text using xpath

2007-03-18 Thread Ori Doolman
Dave, I looked again at the example and now I understand what you mean. For some reason I didn't see it before. Thanks for the help, Ori. Ori Doolman wrote: > Thank you, Dave. > Yes, I probably mean markup (which is a text in the format of XML > including all '<' and '>' tags. Not the t

Re: Extracting a sub-tree as text using xpath

2007-03-15 Thread David Bertoni
Ori Doolman wrote: Thank you, Dave. Yes, I probably mean markup (which is a text in the format of XML including all '<' and '>' tags. Not the text contained only within the text nodes). Is there any complete ready made function that serializes the NodeSet? It seems like a very common problem. Th

RE: Extracting a sub-tree as text using xpath

2007-03-15 Thread Ori Doolman
ly. If none of the options above is available, I guess I would have to write the complete SerializeNodeSet by myself. Ori. -Original Message- From: David Bertoni [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 5:01 PM To: xalan-c-users@xml.apache.org Subject: Re: Extracting

Re: Extracting a sub-tree as text using xpath

2007-03-14 Thread David Bertoni
--Original Message- From: David Bertoni [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 12:10 AM To: xalan-c-users@xml.apache.org Subject: Re: Extracting a sub-tree as text using xpath Ori Doolman wrote: Someone, please? I think what you mean is that you want the results as markup

RE: Extracting a sub-tree as text using xpath

2007-03-14 Thread Ori Doolman
2:10 AM To: xalan-c-users@xml.apache.org Subject: Re: Extracting a sub-tree as text using xpath Ori Doolman wrote: > Someone, please? > I think what you mean is that you want the results as markup, and not as text, in the sense of text nodes in the data model. Take a look at the Seriali

RE: Extracting a sub-tree as text using xpath

2007-03-14 Thread Ori Doolman
using xpath Have you tried /A/text()? > -Original Message- > From: Ori Doolman [mailto:[EMAIL PROTECTED] > Sent: Monday, March 12, 2007 4:54 PM > To: xalan-c-users@xml.apache.org > Subject: RE: Extracting a sub-tree as text using xpath > > Someone, please? > &

Re: Extracting a sub-tree as text using xpath

2007-03-12 Thread David Bertoni
Ori Doolman wrote: Someone, please? I think what you mean is that you want the results as markup, and not as text, in the sense of text nodes in the data model. Take a look at the SerializeNodeSet sample for more information. Dave

RE: Extracting a sub-tree as text using xpath

2007-03-12 Thread Wyles Eric - ewyles
Have you tried /A/text()? > -Original Message- > From: Ori Doolman [mailto:[EMAIL PROTECTED] > Sent: Monday, March 12, 2007 4:54 PM > To: xalan-c-users@xml.apache.org > Subject: RE: Extracting a sub-tree as text using xpath > > Someone, please? > > >

RE: Extracting a sub-tree as text using xpath

2007-03-12 Thread Ori Doolman
Someone, please? -הודעה מקורית- מאת: Ori Doolman נשלח: ה 08/03/2007 09:43 אל: xalan-c-users@xml.apache.org נושא: Extracting a sub-tree as text using xpath Dear friends, I'm using Xalan 1.1 for extracting text from my xml using xpath expression. I would like to know how I can ex

Extracting a sub-tree as text using xpath

2007-03-07 Thread Ori Doolman
Dear friends, I'm using Xalan 1.1 for extracting text from my xml using xpath expression. I would like to know how I can extract a whole sub-tree as text. Until now, I had documents that look something like this: my_data And I used the expression "/A/B/text()" in order