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 -- http://www.idi.ntnu.no/~einjen/ http://vader.hf.ntnu.no/ Einar Næss Jensen tlf:90990249/73526716
on or about, Thursday, November 14, 2002, we have reason to believe that Einar Næss Jensen wrote something along the lines of : ENJ> I have tons of framemaker-documents converted to xml from which i would ENJ> like to extract information inside certain elements. ENJ> what i would like to extract in two separate strings is: "44332" and "HF2345" ENJ> How is this best accomplished? ENJ> the document does not reside inside zope but is located on another webserver. have a a look at Adrian Hungate's XML-kit. Especially the xml-proxy-product , which i think is exactly what you need... http://www.zope.org/Members/haqa/XMLKit -- Geir Bækholt geir@funcom.com Tools/HCI-developer Tools/Billing - Product Operations Funcom Oslo
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
participants (3)
-
Craeg K Strong -
Einar N�ss Jensen -
Geir B�kholt