修改XML以从结果中删除字符

时间:2014-09-29 20:11:40

标签: xml

我有一个生成属性标记的xml:

<Entity ITEMTYPE="PipeRun">
  <Attribute ItemTagFormat="(TagPrefix)-(OperFluidCode)-(NominalDiameter)-(TagSequenceNo)-(PipingMaterialsClass)-(InsulThick)(InsulationSpec)" FixedLength="()()()(4)()()()" FillingString="()()()(0)()()()" Alignment="(Right)(Right)(Right)()()()()" ProgID="()(ValidateNomDiam.ForeignCalc)()()(PipeSpec.CommodityCodeValidator)(SmartPlantInsulList.SPForeignCalc)(ProgramInsulList.SPForeignCalc)" /> 
  </Entity>

(NominalDiameter)返回一个“格式为。即2”的值

有没有办法修剪返回的值,以便“不会显示在结果中。即2

0 个答案:

没有答案