import Link from "next/link"; import { useRouter } from "next/router"; import useTranslation from "next-translate/useTranslation"; import xpath from "xpath"; import BuildField from "./buildfield"; export default function BuildRow(props) { let { t } = useTranslation(); const router = useRouter(); const { locale } = router; const { rowXML, whichSection, sectionCount, onSubmit } = props; const parser = new DOMParser(); return (