Accessor Functions NameDescription fn:node-name(node) Returns the node-name of the argument node fn:nilled(node) Returns a Boolean value indicating whether the argument node is nilled fn:data(item.item,...) Takes a sequence of items and returns a sequence of atomic values fn:base-uri() fn:base-uri(node) Returns the value of the base-uri property of the current or specified node fn:document-uri(n..
Selecting NodesXPath uses path expressions to select nodes in an XML document. The node is selected by following a path or steps. The most useful path expressions are listed below: ExpressionDescription nodename Selects all child nodes of the named node / Selects from the root node // Selects nodes in the document from the current node that match the selection no matter where they are . Selects ..
먼저 xml 파일을 로드 하는것 부터 알아보자. 아래와 같이 로드 하는 방법이 있는데 IE에서는 잘되지만 파이어폭스, 크롬, 오페라, 사파리 에서는 잘 되지 않았다. 내가 뭔가를 잘 몰라서 그러는듯 하다. 지금까지 IE에서만 작업을 해오다 보니 타 브라우져에서는 어떻게 되는질 모르겠다. var xmldom = null; if(window.ActiveXObject) { xmldom = new ActiveXObject("Microsoft.XMLDOM"); alert(this._xmlDom); } else if(document.implementation && document.implementation.createDocument) { xmldom = document.implementation.createDocu..
html 태그에 없는 속성을 정하여 그 값을 읽어 보는 javascript 알아보도록 하자. 말이 맞는지는 모르겠으나 사용자 저으이 속성이라고 명명 한다. 예를 들어 내용이란 html 이 있다고 해보자. 물론 test="테스트" 값은 원래는 없는 속성이다. 저 속성 값을 읽어 오는 javascript 예제를 작성 해보도록 하자. 아래와 같이 코드를 작성하면 IE에서는 "테스트" 라는 값이 출력 된다. 하지만 파이어폭스, 크롬, 사파리, 오레파 등이 브라우져에서는 출력 되지 않는다. alert(document.getElementById("test").test); 나마지 브라우져에서도 사용자 정의 속성 값을 출력 할려면 아래와 같이 하면 된다. alert(document.getElementById("test..
dbcc inputbuffer는 클라이언트가 MSSQL에 마지막으로 전송한 query를 표시 한다. 열 이름 데이터 형식 설명 EventType nvarchar(30) 이벤트 유형입니다. RPC Event 또는 Language Event를 사용할 수 있습니다. 마지막 이벤트가 감지되지 않으면 No Event가 출력됩니다. Parameters int 0 = 텍스트 1- n = 매개 변수 EventInfo nvarchar(4000) RPC의 EventType의 경우 EventInfo에 프로시저 이름만 포함됩니다. EventType이 Language인 경우 이벤트의 첫 4000자만 표시됩니다. 다음 예제는 긴 시간 트랜잭션이 실행 되는 동안 두 번째 연결에서 dbcc inputbuffer를 실행한다.CREAT..
- Total
- Today
- Yesterday