小编Mar*_*nne的帖子

从 Oracle CLOB 中提取值返回 null

我是 XML 和 Clob 的新手。我已经阅读了大量有关该主题的帖子。我正在尝试从此 clob 中提取 studentID 值。我正在使用 Oracle 11.2

<OcXml xmlns="http://oc.csr.com/xml">
  <OcSharedXml>
    <Templates>
      <Template ns:TemplateId="130" ns:TemplateName="Student Graduation Fees" ns:TemplateFilename="Student_Graduation_Fees_1.doc" ns:TemplateSequence="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://oc.rsi.com/xml">
        <Sections>
          <Section ns:SectionId="146" ns:SectionName="Main" ns:SectionSequence="1" ns:MaxRepeat="1">
            <Elements>
              <Element ns:ElementId="134" ns:ElementName="CurrentDt" ns:FieldName="DateOfNotice" ns:DefaultValue="" ns:Editable="false" ns:ElementSequence="1" ns:ElementType="ElmProc" ns:Mandatory="false" ns:Shared="true" ns:DataType="String" ns:Format="NoFmt" ns:RecipientId="" ns:Multiline="false" ns:RecipientAddressFlag="false">
                <ElementValue>2/19/2015</ElementValue>
              </Element>
              <Element ns:ElementId="24" ns:ElementName="InvoiceNo" ns:FieldName="InvoiceNo" ns:DefaultValue="" ns:Editable="true" ns:ElementSequence="2" ns:ElementType="ElmProc" ns:Mandatory="false" ns:Shared="true" ns:DataType="String" ns:Format="NoFmt" ns:RecipientId="" ns:Multiline="false" ns:RecipientAddressFlag="false">
                <ElementValue>352</ElementValue>
              </Element>
              <Element ns:ElementId="16" ns:ElementName="StudentID" ns:FieldName="StudentID" ns:DefaultValue="" ns:Editable="true" ns:ElementSequence="3" ns:ElementType="ElmProc" ns:Mandatory="false" ns:Shared="true" ns:DataType="String" ns:Format="NoFmt" ns:RecipientId="" ns:Multiline="false" ns:RecipientAddressFlag="false"> …
Run Code Online (Sandbox Code Playgroud)

xml oracle extract clob

1
推荐指数
1
解决办法
2500
查看次数

标签 统计

clob ×1

extract ×1

oracle ×1

xml ×1