[Zope] Re: [Zope-xml] XMLDocument

Adrian Hungate adrian@haqa.co.uk
Tue, 4 Feb 2003 06:24:18 -0000


Sorry I have taken so long to read this, I have recently started a new job,
and life has been hectic.

I am not sure what is going wrong, I'll have to do some testing, but
remember XML is case sensitive - is the emnekcode tag in lowercase
everywhere? (That is a weak guess, I'll know more once I've tested).

Adrian...

--
Adrian Hungate
EMail: adrian@haqa.co.uk
Web: http://www.haqa.co.uk

----- Original Message -----
From: "Einar Næss Jensen" <einar.ness.jensen@hf.ntnu.no>
To: <zope@zope.org>
Cc: <zope-xml@zope.org>
Sent: Wednesday, November 20, 2002 8:45 AM
Subject: [Zope-xml] XMLDocument



I am using the product XMLKit and its XMLDocument and XMLproxy.
(have tried ParsedXML, but it doesn't seem to display my norwegian
characters and I don't have time to look into that matter).

XMLproxy works just the way i want it.

now, inside this xml there is a few lines i want to extract:
<CELL ROWSPAN="1" COLSPAN="1">
     <emnekode>hfmv302
      <A ID="pgfId-999230" />
     </emnekode>
    </CELL>

What i want from this is:
<a href="some_url#pgfid-999230">hfmv302</a>

when i add "emnekode" to the entities to view, nothing happens. However, if
<A> contains data i may extract this by calling <dtml-var A> at the opening
tag.

I am puzzeled.


First of all i would very much apreciate if somone could point me to any
documentation on XMLKit.
second: if somone understand what i want from the above text, maybe could
tell me if I am on the right track when trying to extract data from the
xml-document.
Are there other ways to do this? how?

Thanks to everyone who have answered my recent postings.

Einar
--
Einar Næss Jensen
Avdelingsingeniør EDB-HF
735 90750


_______________________________________________
Zope-xml mailing list
Zope-xml@zope.org
http://lists.zope.org/mailman/listinfo/zope-xml