Yannick
Using MSXML I found a lot of these problems went away if
I rewrote my code using intermediate variables so as to
only have one dot in each expression, along the lines of
<cfset dateTags = xmlDoc.getElementsByTagName("InscriptionDate")>
<cfset firstDate = dateTags.item(0)>
<cfset dateText = firstDate.text>
although I haven't actually used getElementsByTagName() myself.
HTH
Nick
-----Original Message-----
From: Yannick Simon [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 12:12 PM
To: CF-Talk
Subject: MSXML and getElementsByTagName
This is a multi-part message in MIME format.
------=_NextPart_000_0009_01C068F4.290869A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,=20
when i try=20
this,=20
<CFSET InscriptionDate =3D =
xmlDoc.getElementsByTagName("InscriptionDate").item(0).text>=20
i've got a compilation pb near the character "."=20
which is the . between ("InscriptionDate") and item(0)=20
can somebody tell me how i can use getElementsByTagName in CF ?=20
thanx=20
yannick=20
**********************************************************************
Information in this email is confidential and may be privileged.
It is intended for the addressee only. If you have received it in error,
please notify the sender immediately and delete it from your system.
You should not otherwise copy it, retransmit it or use or disclose its
contents to anyone.
Thank you for your co-operation.
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists