Truncated strings in xpath result export
Posted: Wed Jan 25, 2017 3:21 pm
Hi,
I am trying to export some results from an XPath expression. The expression returns a set of results, if I copy or export them, the strings are truncated
Example:
When a bunch of these <source> elements are selected via XPath:
I get 33 results, if I select all and copy or export as xml the above *should* match the full contents of the script tab, however I get this back in the export xml:
As you can see, the results are truncated ( ... ). How can I get the full, untruncated results back?
Also, will the issue as mentioned in topic7071.html ever be implemented? I.e. so we can copy, hopefully non-truncated, results as a column??
I am trying to export some results from an XPath expression. The expression returns a set of results, if I copy or export them, the strings are truncated
Example:
Code: Select all
<settings>
<username/>
<password encrypted="yes"/>
<usescript>yes</usescript>
<source>Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
Get-MailboxDatabaseCopyStatus -Server $[DAGMemberServer1] | where{$_.ActivationPreference -eq 4} | Suspend-MailboxDatabaseCopy -ActivationOnly
Get-MailboxDatabaseCopyStatus -Server $[DAGMemberServer2] | where{$_.ActivationPreference -eq 4} | Suspend-MailboxDatabaseCopy -ActivationOnly
Get-MailboxDatabaseCopyStatus -Server $[DAGMemberServer3] | where{$_.ActivationPreference -eq 4} | Suspend-MailboxDatabaseCopy -ActivationOnly
Get-MailboxDatabaseCopyStatus -Server $[DAGMemberServer4] | where{$_.ActivationPreference -eq 4} | Suspend-MailboxDatabaseCopy -ActivationOnly</source>
Code: Select all
//tasks/task[properties/type/text()='PWRSHELL']/settings[timeout/text()='10']/source/text()
Code: Select all
<report xmlns="http://www.oxygenxml.com/ns/report">
<incident>
<description>Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 Get-MailboxDatabaseCopyStatus -Server $[DAGMemberServer1] | where{$_.ActivationPreference -eq 4} | Suspend-MailboxDatabaseCopy -ActivationO ...</description>
<xpath_location>/AutomationManager[1]/buildingblock[1]/modules[1]/module[4]/tasks[1]/task[2]/settings[1]/source[1]/text()[1]</xpath_location>
<systemID>/Users/maarten/Projects/BBReport/projects_na2 install and config.xml</systemID>
<location>
<start>
<line>3318</line>
<column>16</column>
</start>
<end>
<line>3323</line>
<column>143</column>
</end>
</location>
</incident>
Also, will the issue as mentioned in topic7071.html ever be implemented? I.e. so we can copy, hopefully non-truncated, results as a column??