[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
How_To_XML_Display_XML_Attributes_DataIslands
XML FAQ
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
How_To_XML_Display_XML_Attributes_DataIslands
How to display XML attributes using Data Islands?
You can refer to XML attributes using the datafld attribute, similarly to referencing an element's name.<xml id="books"> <?xml version="1.0"?> <books> <book ISBN="0321173481" author="Michael R. Sweet" /> <book ISBN="0849371643" author="Gerald Farin" /> <book ISBN="1558606696" author="David Rogers" /> <book ISBN="1568810849" author="Gerald Farin" /> </books> </xml> <span datasrc="#books" datafld="ISBN"></span> <br /> <span datasrc="#books" datafld="Author"></span>
XML FAQ
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
