티스토리 뷰
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
- 메이븐(maven)
- system.io
- java 키워드 정리
- 스프링 시큐리티(spring security)
- java.sql
- 스프링 프레임워크(spring framework)
- 스프링 프레임워크(spring framewordk)
- 특정 문자를 기준으로 자르기
- 람다식(lambda expression)
- In App Purchase
- await
- 문자 자르기
- .submit()
- error-java
- React
- 진수 변환
- 표현 언어(expression language)
- nl2br
- System.Diagnostics
- REST API
- jsp 오픈 소스
- 스프링 시큐리티(spring security)-http basic 인증
- java web-mvc
- 제품 등록
- docker
- MainActor
- jstl(java standard tag library)
- java-개발 환경 설정하기
- jstl(java standard tag library)-core
- 인텔리제이(intellij)
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |