다음을 통해 공유


디스어셈블러 파이프라인 구성 요소의 고유 필드

XML Disassembler, BizTalk Framework Disassembler 또는 Flat File Disassembler 파이프라인 구성 요소는 스키마에 정의된 고유 필드를 다음과 같은 형식으로 메시지 컨텍스트에 씁니다.

사용되는 이름은 XPath의 고유 필드입니다.

네임스페이스 URIhttp://schemas.microsoft.com/BizTalk/2003/btsDistinguishedFields

속성 값은 지정된 XPath를 사용하여 XML 문서에서 추출된 System.String 값입니다.

다음 예제 스키마에는 고유 필드인 Price가 있습니다.

<?xml version="1.0" encoding="utf-16" ?>   
<xs:schema xmlns="http://SendHtmlMessage.PO" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" targetNamespace="http://SendHtmlMessage.PO xmlns:xs="http://www.w3.org/2001/XMLSchema">  
   <xs:element name="PO">  
      <xs:annotation>  
         <xs:appinfo>  
            <b:properties>  
               <b:property distinguished="true" xpath="/*[local-name()='PO' and namespace-uri()='http://SendHtmlMessage.PO']/*[local-  
               name()='Price' and namespace-uri()='']" />   
            </b:properties>  
         </xs:appinfo>  
      </xs:annotation>  
      <xs:complexType>  
         <xs:sequence>  
            <xs:element name="Item" type="xs:string" />   
            <xs:element name="Price" type="xs:string" />   
         </xs:sequence>  
      </xs:complexType>  
   </xs:element>  
</xs:schema>  

문서 인스턴스의 경우

<PO>  
            <Item>Bolt</Item>  
            <Price>10</Price>  
<PO>  

XML Disassembler는 메시지 컨텍스트에서 다음과 같이 고유 필드를 씁니다.

컨텍스트의 속성 이름: "/*[local-name()='PO' and namespace-uri()='http://SendHtmlMessage.PO']/\*[local-name()='Price' and namespace-uri()='']"

속성의 네임스페이스: http://schemas.microsoft.com/BizTalk/2003/btsDistinguishedFields

속성 값: 10

참고

XML 문서 요소 값의 크기가 85KB를 초과하는 경우 해당 문서 처리 성능이 저하될 수 있습니다.

참고 항목

Flat File Disassembler 파이프라인 구성 요소
플랫 파일 디스어셈블러 파이프라인 구성 요소를 구성하는 방법