Ask a Question related to ASP.NET General, Design and Development.
-
Kathy Burke #1
Easier way to get xmlAttributes from xpaths?
Hi, within asp.net, I'm using xpaths to retrieve data from xml strings.
For example:
Dim n10 As XmlElement = xDoc.SelectSingleNode("//Station/Timer[last()]")
The Timer element has several attributes (on, off, etc.) that I would
like to retrieve and set as a variable.
I've been using xmlAttribute =
xDoc.SelectSingleNode("//Station/Timer[last()]/@on") etc. to get the
individual attribute values.
Just wondering if there was a way to retrieve the attributes from the
XmlElement node instead of all the individual xmlAttributes ones???
Thanks,
Kathy
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Kathy Burke Guest
-
[PHP] easier than switch
skate wrote: If you're really sure only one will be sent: $type = $_POST . $_POST . $_POST . $_POST . $_POST; will achieve what you're... -
easier than switch
On Mon, Aug 04, 2003 at 11:19:42PM +0100, skate wrote: You have a single page, containing multiple forms, all of which share the same action? ... -
[PHP] Is there an easier way?
Hello, This is a reply to an e-mail that you wrote on Fri, 1 Aug 2003 at 02:04, lines prefixed by '>' were originally written by you. statement... -
Is there an easier way?
Hi, This is what i am doing, querying a database via a select statement (getting max 5 records), then dumping everything into an associative array.... -
Tell me how it was easier???
Your steps: 1. Draw 5 filled squares. 2. Group the squares. 3. Double click the contents to change the color of the fills. 4. Duplicate the group...



Reply With Quote

