Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006

Xml point on the issue of access to data

SelectNodes one of the issues on the XMLDOM
I can now use selectNodes ( "FieldName[@ParamName=ParamValue]")
ParamValue equal to the value of the data entry options
But my value is not a ParamValue, wanted to inquire about the players and not about whether the use of recycled under the premise, and the same value ParamValue selected from the data
If
">
"B id=1 pid=0/>
"B id=2 pid=0/>
"B id=3 pid=1/>
"B id=4 pid=1/>
"B id=5 pid=1/>
"B id=6 pid=2/>
"B id=7 pid=2/>
"B id=8 pid=2/>
"B id=9 pid=2/>
"B id=10 pid=2/>
Like this, I started a pid data from 1,2 1,2 3-10 Tokuyuki data! I do not know if I have not cycle can be completed in the

It is not the return of the note you? Issues have not been resolved?
I first fell, and suddenly erected in the form of data classification, this would thead Lane with a detection event.srcElement onclick then, but not like where out in th. The current target is to have access to the index value bars, but not the Xml. Think for a long time not--. Can be resolved?

Forfor said in a message

Haha, you do not say what I do not see, the first already desperate.
Your problem is, as is also the browser DOM node problems. IE DOM below for reference :
Language :
ScrollHeight:40
IsTextEdit:false
CurrentStyle:[object]
Document:[object]
Onmouseup:null
Oncontextmenu:null
IsMultiLine:true
ClientHeight:40
Onrowexit:null
Onbeforepaste:null
Onactivate:null
ScrollLeft:0
Lang :
Onmousemove:null
Onmove:null
Onselectstart:null
ParentTextEdit:[object]
Oncontrolselect:null
CanHaveHTML:true
Onkeypress:null
Oncut:null
Onrowenter:null
Onmousedown:null
Onpaste:null
ClassName :
Id:abc
Onreadystatechange:null
Onbeforedeactivate:null
HideFocus:false
Dir :
IsContentEditable:false
Onkeydown:null
ClientWidth:20
Onlosecapture:null
ParentElement:[object]
Ondrag:null
Ondragstart:null
Oncellchange:null
RecordNumber:null
Onfilterchange:null
Onrowsinserted:null
Ondatasetcomplete:null
Onmousewheel:null
Ondragenter:null
Onblur:null
Onresizeend:null
Onerrorupdate:null
Onbeforecopy:null
Ondblclick:null
ScopeName:HTML
Onkeyup:null
Onresizestart:null
Onmouseover:null
Onmouseleave:null
OuterText :
InnerText :
Onmoveend:null
TagName:TABLE
Title :
OffsetWidth:22
Onresize:null
ContentEditable:inherit
RuntimeStyle:[object]
Filters:[object]
Ondrop:null
Onpage:null
Onrowsdelete:null
TagUrn :
OffsetLeft:10
ClientTop:1
Style:[object]
Onfocusout:null
ClientLeft:1
Ondatasetchanged:null
CanHaveChildren:true
Ondeactivate:null
IsDisabled:false
Onpropertychange:null
Ondragover:null
Onhelp:null
Ondragend:null
Onbeforeeditfocus:null
Disabled:false
Onfocus:null
BehaviorUrns:[object]
AccessKey :
Onscroll:null
Onbeforeactivate:null
Onbeforecut:null
ReadyState:complete
All:[object]
SourceIndex:4
Onclick:null
ScrollTop:0
Oncopy:null
Onfocusin:null
TabIndex:0
Onbeforeupdate:null
OuterHTML :
InnerHTML :
Ondataavailable:null
OffsetHeight:42
Onmovestart:null
Onmouseout:null
ScrollWidth:20
OffsetTop:15
Onmouseenter:null
Onlayoutcomplete:null
OffsetParent:[object]
Onafterupdate:null
Ondragleave:null
Children:[object]
BorderColor :
Height :
OwnerDocument:[object]
DataSrc :
PreviousSibling:null
CellSpacing:0
NodeName:TABLE
Cols:0
NodeType:1
Caption:null
BorderColorDark :
Attributes:[object]
ChildNodes:[object]
CellPadding:0
DataFld :
THead:null
TFoot:null
ParentNode:[object]
Rules :
NodeValue:null
DataFormatAs :
Cells:[object]
TBodies:[object]
Width :
FirstChild:[object]
NextSibling:[object]
Align :
BgColor :
Summary :
BorderColorLight :
Background :
DataPageSize:0
Rows:[object]
Border:1
LastChild:[object]
Frame :
If too much trouble, then consider using Microsoft Excel better :
[html]
"OBJECT id=Spreadsheet1 codeBase=file:\Bobsoftwareoffice2000msowc.cab height=250 width=" 100% "classid=clsid : 0002E510-0000-0000-C000-000000000046><PARAM NAME= "HTMLURL" VALUE= "" "<PARAM NAME=" HTMLData "VALUE=" "html xmlns : x = "urn:schemas-microsoft-com:office:excel" xmlns= "http://www.w3.org/TR/REC-html40" "" head are "style type=" text/css "!--tr" " {mso-height-source : auto;} td {white-space:nowrap;}. wc05DF2EC {white-space:nowrap; font-family : italicized; mso-number-format:General; font-size:auto; font-weight:auto; font-style:auto; text-decoration:auto; mso-background-source:auto; mso-pattern:auto; mso-color-source:auto; text-align:general; vertical-align : bottom; border-top:none; border-left:none; border-right:none; border-bottom:none; mso-protection:locked;} Guangzhou Trade Fair "/style>" /head> "body>" !--[if gte mso 9]><xml> "x:ExcelWorkbook>" x:ExcelWorksheets> "x : ExcelWorksheet> "x:OWCVersion>9.0.0.6430</x:OWCVersion>" x:Label Style= 'border-top : solid. </v:shape> <img width=613 height=427 silver;border-left:solid. </v:shape> <img width=613 height=427 silver; border-right:solid. </v:shape> <img width=613 height=427 silver;border-bottom : solid. </v:shape> <img width=613 height=427 silver ', "" x:Caption>Microsoft Office Spreadsheet</x:Caption> "/x:Label>" x : Name>Sheet1</x:Name> "x:WorksheetOptions>" x:Selected/> "x:Height>6615</x:Height> "x:Width>25585</x:Width>" x:TopRowVisible>0</x:TopRowVisible> "x:LeftColumnVisible>0</x : LeftColumnVisible> "x:ProtectContents>False</x:ProtectContents>" x:DefaultRowHeight>210</x : DefaultRowHeight> "x:StandardWidth>2389</x:StandardWidth>" /x:WorksheetOptions> "x : ExcelWorksheet> "/x:ExcelWorksheets>" x:MaxHeight>80%</x:MaxHeight> "x:MaxWidth>80%</x : MaxWidth> "/x:ExcelWorkbook>" /xml><![endif]--> "table class=wc05DF2EC x:str> "mutant width=" 56 "tr height=" "" 14 "" "td></td>" Per "ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1127825915"> </o:OLEObject>" /body> "/html> "" <PARAM NAME= "DataType" VALUE= "HTMLDATA" "<PARAM NAME=" AutoFit "VALUE=" 0 "," <PARAM NAME= "DisplayColHeaders" VALUE= "-1" and "<PARAM NAME=" DisplayGridlines "VALUE=" -1 "and" <PARAM NAME= "DisplayHorizontalScrollBar" VALUE= "-1" and "<PARAM NAME=" DisplayRowHeaders "VALUE=" 1 "" <PARAM NAME= "DisplayTitleBar" VALUE= "-1" and "<PARAM NAME=" DisplayToolbar "VALUE=" -1 "and" <PARAM NAME= "DisplayVerticalScrollBar" VALUE= "-1" and "<PARAM NAME=" EnableAutoCalculate "VALUE=" -1 "and" <PARAM NAME= "EnableEvents" VALUE= "-1" and "<PARAM NAME=" MoveAfterReturn "VALUE= "-1" and "<PARAM NAME=" MoveAfterReturnDirection "VALUE=" 0 "," <PARAM NAME= "RightToLeft" VALUE= "0", "<PARAM NAME=" ViewableRange "VALUE=" 1 : 65536, "" </OBJECT>
[/html]

Then, as a cold smile, but he's not my problem, it does not matter even if we give him the top bar.

No, I was to use the unlimited category
And the front page, I want to show a big category, this is bound to make major ID, ID No. down all of the sub-categories! Then removed from the contents of the data corresponding to the ID number of data elements. Did not use cycle, which would increase the amount of code that would like to use the method to achieve carrying dom. However, information about the investigation, but did not find relevant content
So the only question here! ~
I Foshan xpath aspects of the dark and I said, seems to have, but I will not be one to xpath, E. to MSDN article, but one of Khan

"FieldName[@ParamName= 'one' orParamName= 'two' orParamName= '3']"

For forfor.
TH was located cited
[html]
"TABLE bgColor=yellow border=2>
"TBODY>
"TR>
"TH onclick=alert (this.cellIndex)" Title</TH>
"TH onclick=alert (this.cellIndex)" Artist</TH></TR>
"TR>
"TD onclick=alert (this.cellIndex)," Empire Burlesque</TD>
"TD onclick=alert (this.cellIndex)," Bob Dylan</TD></TR>
"TR>
"TD onclick=alert (this.cellIndex)" Picture book</TD>
"TD onclick=alert (this.cellIndex)" Simply Red</TD></TR>
"TR>
"TD onclick=alert (this.cellIndex)" Red</TD>
"TD onclick=alert (this.cellIndex)," The Communards</TD></TR>
"TR>
"TD onclick=alert (this.cellIndex)," Unchain my heart</TD>
"TD onclick=alert (this.cellIndex)," Joe Cocker</TD></TR></TBODY></TABLE>
[/html]

Conclusion : The index has its own website DOM structural element method (attributes) XML XPath node in the index should help.




 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com