[Zope] Re: [Zope-xml] extract elements from xml-documents

Craeg K Strong cstrong@arielpartners.com
Thu, 14 Nov 2002 19:28:21 -0500


One way is to use XSLT.  Learning XSLT might be more
than you bargained for, but it is a standard way to do
such things.  Check out the tutorial at

http://www.zope.org/Members/arielpartners/XMLTransform/tutorial

HTH,

--Craeg

Einar Nęss Jensen wrote:
> 
> I have tons of framemaker-documents converted to xml from which i would 
> like to extract information inside certain elements.
> 
> a portion of the document (english.xml)would typically look like this:
> 
> 
> <emne>
> <a href="#44332"></a>
> HF2345
> </emne>
> 
> what i would like to extract in two separate strings is: "44332" and 
> "HF2345"
> 
> How is this best accomplished?
> the document does not reside inside zope but is located on another 
> webserver.
> 
> Thank you all in advance!
> 
> Einar
>