Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Google Docs
Each Attachment size should not exceed 1.0 MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Screen name:
HariChem
HariChem's Profile
1
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Ideas
Problems
Expanded view
List view
Private Message
getting the contents
[2Replies]
14-Dec-2013 12:26 AM
Forum:
Using jQuery
iam very new to xml parsing in jquery. i want to accomplish the below task which iam not able to. any help would be greatly appreciated
I have the below xml
<svg xmlns="http://www.w3.org/2000/svg" class="no_class"><ellipse class="no_class" id="shape:45822758-f1cf-9985-7294-67dc74ef3a51" style="position: absolute; z-index: 5000;" fill="red" stroke="#000000" stroke-width="1px" cx="419px" cy="98px" rx="18px" ry="25px" val_fillcolor="red" val_strokecolor="#000000" itemtype="ellipse" PageNo="1" UserId="2" SD="0x7fffffff" /><ellipse class="no_class" id="shape:3d138742-572a-df2c-44f6-6b6542a5501b" style="position: absolute; z-index: 5001;" fill="red" stroke="#000000" stroke-width="1px" cx="264px" cy="111px" rx="18px" ry="25px" val_fillcolor="red" val_strokecolor="#000000" itemtype="ellipse" PageNo="1" UserId="10" SD="0x7fffffff" /></svg>
The below code i use to loop over each node i.e., ellipse. In the loop i want to get the current node xml contents i.e., the entire <ellipse tag
$(xml).find('ellipse').each(function(){
var text=$(this).xml(); //this doe not work
//alert($(this));
//var text=(new XMLSerializer()).serializeToString($(this));
alert(text);
});
iam stuck on this for the past 2 days..Help is needed
«Prev
Next »
Moderate user : HariChem
Forum