W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2007

RE: Get the line number from DOM

From: Michael Kay <mike@saxonica.com>
Date: Fri, 23 Nov 2007 12:50:21 -0000
To: "'chitra kv'" <chitra.kv@gmail.com>, <xmlschema-dev@w3.org>
Message-ID: <00f301c82dcf$689b5670$6501a8c0@turtle>

You're asking on the wrong forum.

W3C DOM, as far as I'm aware, only provides location information when an
error occurs. Particular implementations may do better than this.

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: xmlschema-dev-request@w3.org 
> [mailto:xmlschema-dev-request@w3.org] On Behalf Of chitra kv
> Sent: 23 November 2007 07:22
> To: xmlschema-dev@w3.org
> Subject: Re: Get the line number from DOM
> 
> 
> Is there any input for this query. Even I am stuck here. I 
> need to get the line number of xml file using XML::DOM.. Is 
> there any function like
> 
> getLineNumber .
> 
> 
> 
> Thanks,
> 
> Chitra .K.V
> 
> 
Received on Friday, 23 November 2007 12:50:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:01 GMT