Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A trivial use case would be adding a replace function callable from a DPath expression. In the DFDL Schema, we might call  something like the below; Where the function will return "Hello_World" if the element resolves to "Hello World". 

Code Block
languagexml
dfdl:choiceDispatchKey="{ sdf:replace(xs:string(header/MessageIdentifier/MessageTextFormatIdentifier), ' ', '_') }"

...

Code Block
dfdl:outputValueCalc="{ mhdf:convert_to_hae(
	xs:int(../land_point_track_initial_word/composite_elevation/raw), 
	xs:int(../land_point_track_continuation_word_3/hae_adjustment/raw), 
	xs:float(../land_point_track_initial_word/composite_elevation/scaling_factor)) }"

...