OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Is it possible to get attribute/attribute value in an XML doc

[ Lists Home | Date Index | Thread Index ]
  • From: Srinivasan_KS <Srinivasan_KS@inf.com>
  • To: "'xml-dev@ic.ac.uk'" <xml-dev@ic.ac.uk>
  • Date: Tue, 17 Aug 1999 12:36:06 +0530

`Hi,
	We have one XML doc as produced below.We are using EXPAT parser .
	
	 <MI_PROD_FAMILY_DESC>
         <MI_PROD_DESC_ADD_USER>massImport</MI_PROD_DESC_ADD_USER>
         <MI_PROD_DESC_UPDATE_USER>massImport</MI_PROD_DESC_UPDATE_USER>
         <MI_OVERVIEW_TAB MI_PROD_DESC_WHICH_PAGE="5">
            <MI_LINE MI_PROD_DESC_LIVE="0" MI_PROD_DESC_REMOVED="0">
               <MI_PROD_DESC_HEAD COLOR="0" SIZE="4" ALIGN="0" STYLE="0">
                  <MI_PROD_DESC_HD>
                     <MI_TEXT>&amp;#149</MI_TEXT>
                  </MI_PROD_DESC_HD>
               </MI_PROD_DESC_HEAD>
               <MI_PROD_DESC_TEXT COLOR="0" SIZE="4" ALIGN="0" STYLE="0">
                  <MI_PROD_DESC_TXT>
                     <MI_FUNC_CONCAT>
                        <MI_TEXT>Format:</MI_TEXT>
 
<MI_EDI_REF_NAME>mi_edi_ref_name_format</MI_EDI_REF_NAME>
                     </MI_FUNC_CONCAT>
                  </MI_PROD_DESC_TXT>
               </MI_PROD_DESC_TEXT>
            </MI_LINE>
	
	We want to know whether it is possible to write/use individual
functions  to extract  
	 tag names
	tag parameters
	attribute names
	attribute values
	number of tag parameters
	Identify begin and end positions for a given tag
      Identify location of tags,parameters etc in the XML document

 Any pointers in this way will be helpful.

	Regards
	Raktim

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS