summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Shetye2025-05-02 17:50:20 +0530
committerSunil Shetye2025-05-05 16:13:10 +0530
commit5d39e4a6b55d106efdfe3fe70a010af36a17acad (patch)
tree72a8239e1aa8b1c0a62f142096aa9ba6e44714b2
parentd122b268b8efe7d11db4f7ae1bd1dbbeed606e68 (diff)
downloadCommon-Interface-Project-5d39e4a6b55d106efdfe3fe70a010af36a17acad.tar.gz
Common-Interface-Project-5d39e4a6b55d106efdfe3fe70a010af36a17acad.tar.bz2
Common-Interface-Project-5d39e4a6b55d106efdfe3fe70a010af36a17acad.zip
add commented code to save file
-rw-r--r--blocks/eda-frontend/src/utils/GalleryUtils.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/blocks/eda-frontend/src/utils/GalleryUtils.js b/blocks/eda-frontend/src/utils/GalleryUtils.js
index 9453695c..411e3448 100644
--- a/blocks/eda-frontend/src/utils/GalleryUtils.js
+++ b/blocks/eda-frontend/src/utils/GalleryUtils.js
@@ -42,12 +42,16 @@ const countNodesByXPath = (xpath, contextNode) => {
}
export const transformXcos = async (xmlDoc) => {
+ // saveXmlToFile('xcos.xml', xmlDoc)
const splitProcessor = await getSplitXsltProcessor()
xmlDoc = removeSplits1(xmlDoc, splitProcessor)
+ // saveXmlToFile('xcos-split.xml', xmlDoc)
const processor = await getXsltProcessor()
xmlDoc = processor.transformToDocument(xmlDoc)
+ // saveXmlToFile('xcos-xcos2xml.xml', xmlDoc)
const geometryprocessor = await getGeometryXsltProcessor()
xmlDoc = geometryprocessor.transformToDocument(xmlDoc)
+ // saveXmlToFile('xcos-geometry.xml', xmlDoc)
return xmlDoc
}