mirror of
https://github.com/michaelrsweet/mxml.git
synced 2025-05-11 15:32:08 +00:00
60 lines
1.9 KiB
HTML
60 lines
1.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>Mini-XML Programmers Manual, Version 2.3</TITLE>
|
|
<META NAME="author" CONTENT="Michael R. Sweet">
|
|
<META NAME="copyright" CONTENT="Copyright 2003-2007">
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
|
|
<LINK REL="Start" HREF="index.html">
|
|
<LINK REL="Contents" HREF="index.html">
|
|
<LINK REL="Prev" HREF="mxmlDelete.html">
|
|
<LINK REL="Next" HREF="mxmlElementSetAttr.html">
|
|
<STYLE TYPE="text/css"><!--
|
|
BODY { font-family: sans-serif }
|
|
H1 { font-family: sans-serif }
|
|
H2 { font-family: sans-serif }
|
|
H3 { font-family: sans-serif }
|
|
H4 { font-family: sans-serif }
|
|
H5 { font-family: sans-serif }
|
|
H6 { font-family: sans-serif }
|
|
SUB { font-size: smaller }
|
|
SUP { font-size: smaller }
|
|
PRE { font-family: monospace }
|
|
A { text-decoration: none }
|
|
--></STYLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="index.html">Contents</A>
|
|
<A HREF="mxmlDelete.html">Previous</A>
|
|
<A HREF="mxmlElementSetAttr.html">Next</A>
|
|
<HR NOSHADE>
|
|
<H3 class="title"><A name="mxmlElementGetAttr">mxmlElementGetAttr()</A></H3>
|
|
<H4>Description</H4>
|
|
<P>Get an attribute.</P>
|
|
<P>This function returns NULL if the node is not an element or the named
|
|
attribute does not exist.</P>
|
|
<H4>Syntax</H4>
|
|
<P> <TT>const char *
|
|
<BR> mxmlElementGetAttr( <A href="mxmlnodet.html#mxml_node_t">
|
|
mxml_node_t</A> * node, const char * name);</TT></P>
|
|
<H4>Arguments</H4>
|
|
<DIV class="table">
|
|
<TABLE align="center" border="1" cellpadding="5" cellspacing="0" summary="Arguments"
|
|
width="80%"><THEAD></THEAD>
|
|
<TR><TH>Name</TH><TH>Description</TH></TR>
|
|
<TBODY></TBODY>
|
|
<TR><TD><TT>node</TT></TD><TD>Element node</TD></TR>
|
|
<TR><TD><TT>name</TT></TD><TD>Name of attribute</TD></TR>
|
|
</TABLE>
|
|
</DIV>
|
|
<H4>Returns</H4>
|
|
<P>Attribute value or NULL</P>
|
|
|
|
<!-- NEW PAGE -->
|
|
<HR NOSHADE>
|
|
<A HREF="index.html">Contents</A>
|
|
<A HREF="mxmlDelete.html">Previous</A>
|
|
<A HREF="mxmlElementSetAttr.html">Next</A>
|
|
</BODY>
|
|
</HTML>
|