Hi All,
We are using VB.net for development and there is one function called " EvaluateXPathExpression" for InDesign.XMLElement.Trying to use this in VB.net and throws "The requested member of the collection does not exist." error.
"Function EvaluateXPathExpression(Using As String, Optional PrefixMappingTable As Object = Nothing) As InDesign.Objects
Member of InDesign.XMLElement"
Is this accessible in VB.Net? Any sample or direction is helpful.
IdApp = CreateObject("InDesign.Application.CS5.5")
IdApp.Activate()
IdApp.ScriptPreferences.UserInteractionLevel = InDesign.idUserInteractionLevels.idNeverInteract
IdDoc = IdApp.ActiveDocument
Dim xmlElems As InDesign.XMLElement = IdDoc.XMLElements(0).EvaluateXPathExpression("//body")
Thanks
Selvakumar
North America
Europe, Middle East and Africa
Asia Pacific