Results 1 to 1 of 1
- 04-16-2012, 08:35 AM #1
Member
- Join Date
- Feb 2012
- Location
- Bangalore
- Posts
- 32
- Rep Power
- 0
How to traverse the svg tag and print the particular values in the tag
<html class="x-border-box x-quirks x-viewport" style="overflow: auto;" id="ext-gen1053">
<head>
<body id="ext-gen1012" class="x-body x-gecko x-reset x-container x-container-default x-layout-fit" style="margin: 5px; overflow: auto;" role="application">
<div id="panel-1014" class="x-panel x-fit-item x-panel-default" style="width: 982px; height: 253px; left: 0px; top: 0px;" role="presentation">
<div id="ext-gen1044" class="x-panel-body x-panel-body-default x-panel-body-default" style="background: none repeat scroll 0% 0% rgb(255, 255, 255); width: 982px; height: 253px; left: 0px; top: 0px;">
<div id="1" class="x-surface x-abs-layout-item x-surface-default" style="width: 207px; height: 1px; left: 230px; top: 209px;" role="presentation">
<svg id="ext-gen1049" xmlns="http://www.w3.org/2000/svg" version="1.1" width="207" height="1" viewBox="230 209 207 1" style="width: 207px; height: 1px;">
<defs>
<rect id="ext-gen1050" width="100%" height="100%" fill="#000" stroke="none" opacity="0">
<path id="line_1" zIndex="0" d="M230,209L437,210" stroke="#000000" stroke-width="1" width="202" height="0" x="230" y="209" hidden="false" fill="none" transform="matrix(1, 0, 0, 1, 0, 0)">
</svg>
</div>
<div id="ext-gen1052" class="x-clear" role="presentation"></div>
</div>
</div>
<script type="text/javascript">
<div id="ext-comp-1042" class="x-tip x-tip-default x-layer" style="position: absolute; display: none; left: 512px; top: 127px;" role="tooltip" aria-labelledby="component-1044">
</body>
</html>
From the above file i want to capture the width, height , x and y values which is under the svg tag.. can anyone help me for the same. Thanks in advance
Similar Threads
-
Help: traverse Huffman tree
By Reploids in forum New To JavaReplies: 0Last Post: 05-24-2011, 10:02 AM -
Need help to use tab key to traverse through tabbed panel controls.
By asifu9 in forum AWT / SwingReplies: 2Last Post: 11-02-2010, 12:27 PM -
Traverse control on WizardPage
By laurie in forum SWT / JFaceReplies: 0Last Post: 06-29-2010, 08:16 PM -
cant print 2d array(giving null values)
By fneeks in forum New To JavaReplies: 1Last Post: 04-07-2010, 08:48 PM -
error with traverse a relations ship
By darkbalder in forum Enterprise JavaBeans (EJB)Replies: 0Last Post: 12-11-2007, 05:25 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks