Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xmladapter to acess xml svg
Message
From
13/07/2010 10:24:48
 
 
To
13/07/2010 09:59:47
Valter Molina
Molina & Nardi Ltda
Brazil
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
01472350
Message ID:
01472354
Views:
67
>I need to read the TEXT TAG properties such as pdf_Op, font-size, font-family

Valter, this will display the name and values of all attributes of the text tag.
m.loXML = CREATEOBJECT("Microsoft.XMLDOM")

m.loXML.async = .F.
m.lcXMLFile = GETFILE()
m.loXML.Load(m.lcXMLFile)

m.loXMLDoc = m.loXML.documentElement

m.loTextElement = m.loXMLDoc.selectSingleNode("text")

FOR EACH m.loAttribute IN m.loTextElement.attributes
	? m.loAttribute.name, m.loAttribute.value
ENDFOR
----------------------------------
António Tavares Lopes
Previous
Reply
Map
View

Click here to load this message in the networking platform