Author Topic: xml parser for lisp  (Read 3353 times)

0 Members and 1 Guest are viewing this topic.

clovis

  • Guest
xml parser for lisp
« on: June 23, 2010, 01:58:31 AM »
Hello guys,
I was wondering if there is a parser for xml or if one has already be written.
Or is there some guide line do write one?
Thanks

CADmium

  • Newt
  • Posts: 33
Re: xml parser for lisp
« Reply #1 on: June 23, 2010, 03:49:46 AM »
Have a look to

(vlax-create-object "MSXML2.DOMDocument.3.0")

 .....
"Bei 99% aller Probleme ist die umfassende Beschreibung des Problems bereits mehr als die Hälfte der Lösung desselben."

Lee Mac

  • Seagull
  • Posts: 12906
  • London, England
Re: xml parser for lisp
« Reply #2 on: June 23, 2010, 05:21:35 AM »

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: xml parser for lisp
« Reply #3 on: June 23, 2010, 01:22:49 PM »
Have a look to

(vlax-create-object "MSXML2.DOMDocument.3.0")

 .....


Careful with that - MSXML6 is recommended, as MSXML3 doesn't support goodies like XSD schemas.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

clovis

  • Guest
Re: xml parser for lisp
« Reply #4 on: June 24, 2010, 01:47:11 AM »
thanks a lot!!
I've found an discussion with you guys about how to connect to a rss (website information) (cadTutor)It looks very nice and it works great with the links provided but I also tried with a link here in the Netherlands without success
http://www.nu.nl/feeds/rss/algemeen.rss
I suspect that the extension is the part causing the error.?!?
Is there somewhere a link towards a howto handle xml with
Code: [Select]
(vlax-create-object "MSXML2.DOMDocument.3.0")?
I can learn a lot by dumping the object but I'm not familiar with the properties and methods
Thanks
« Last Edit: June 24, 2010, 05:47:03 AM by clovis »

clovis

  • Guest
Re: xml parser for lisp
« Reply #5 on: June 24, 2010, 09:39:16 AM »

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: xml parser for lisp
« Reply #6 on: June 24, 2010, 10:24:06 AM »
Also, have a wander through W3Schools.com.  Its not as technical but its easier to understand, especially the XSD and XSLT.  For the more technically-minded the original W3C XML specifications cover *everything* but there's a lot of minutia to wade through.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}