티스토리 뷰
XmlDocument doc = new XmlDocument();
doc.Load("http://localhost:60052/Scripts/test.xml");
XmlNode StudentListNode = doc.SelectSingleNode("/smses");
//XmlNodeList StudentNodeList = StudentListNode.SelectNodes("sms");
XmlNodeList StudentNodeList = StudentListNode.SelectNodes("mms");
XmlNode StudentListNode2 = null;
XmlNodeList StudentNodeList2 = null;
string text = string.Empty;
string type = string.Empty;
IList<MobileSmsEntity> list = new List<MobileSmsEntity>();
foreach (XmlNode node in StudentNodeList)
{
StudentListNode2 = node.SelectSingleNode("parts");
StudentNodeList2 = StudentListNode2.SelectNodes("part");
foreach (XmlNode node2 in StudentNodeList2)
{
text = node2.Attributes.GetNamedItem("text").Value;
}
list.Add(new MobileSmsEntity()
{
//in_descr = "sms"
//, in_no = node.Attributes.GetNamedItem("address").Value
//, in_date = node.Attributes.GetNamedItem("date").Value
//, in_memo = node.Attributes.GetNamedItem("body").Value
//, in_name = node.Attributes.GetNamedItem("contact_name").Value
//, in_type = node.Attributes.GetNamedItem("type").Value
//, in_readable_date = node.Attributes.GetNamedItem("readable_date").Value
in_descr = "mms"
, in_no = node.Attributes.GetNamedItem("address").Value
, in_date = node.Attributes.GetNamedItem("date").Value
, in_memo = text//node.Attributes.GetNamedItem("text").Value
, in_name = node.Attributes.GetNamedItem("contact_name").Value
, in_type = "null"//node.Attributes.GetNamedItem("type").Value
, in_readable_date = node.Attributes.GetNamedItem("readable_date").Value
});
}
- Total
- Today
- Yesterday
- jsp 오픈 소스
- 스프링 시큐리티(spring security)-http basic 인증
- java.sql
- 메이븐(maven)
- jstl(java standard tag library)-core
- 표현 언어(expression language)
- 인텔리제이(intellij)
- 제품 등록
- 람다식(lambda expression)
- In App Purchase
- error-java
- await
- React
- 문자 자르기
- MainActor
- java-개발 환경 설정하기
- 특정 문자를 기준으로 자르기
- 스프링 프레임워크(spring framewordk)
- system.io
- java web-mvc
- 진수 변환
- nl2br
- 스프링 시큐리티(spring security)
- 스프링 프레임워크(spring framework)
- System.Diagnostics
- docker
- .submit()
- REST API
- jstl(java standard tag library)
- java 키워드 정리
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |