[Webtest] how to use normalizeXml filter

Diana Huang (AU) Diana Huang (AU)" <Diana.Huang@didata.com.au
Fri, 11 Jul 2008 10:04:49 +1000


--_000_61C24392E6E0FA40A3CB8AA8F31DB4132B49088291AUNDDEXMBS01a_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

Anyone knows how to use normalizeXml filter? What's the grammar? Sth like t=
his  <normalizeXml />?

For a reason, my returned xml always has the first two blank lines. To use =
verifyXPath, I need to get a clean (well-formatted) xml file. Could anyone =
have some idea for this?

Thanks,

Diana




***************************************************************************=
***
 - NOTICE FROM DIMENSION DATA AUSTRALIA
This message is confidential, and may contain proprietary or legally privil=
eged information.  If you have received this email in error, please notify =
the sender and delete it immediately.

Internet communications are not secure. You should scan this message and an=
y attachments for viruses.  Under no circumstances do we accept liability f=
or any loss or damage which may result from your receipt of this message or=
 any attachments.
***************************************************************************=
***

--_000_61C24392E6E0FA40A3CB8AA8F31DB4132B49088291AUNDDEXMBS01a_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"\@SimSun";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-AU link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal>Hi,<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Anyone knows how to use normalizeXml filter? What&#821=
7;s
the grammar? Sth like this &nbsp;&lt;normalizeXml /&gt;?<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>For a reason, my returned xml always has the first two=
 blank
lines. To use verifyXPath, I need to get a clean (well-formatted) xml file.
Could anyone have some idea for this?<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Thanks,<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Diana<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

</div>


<p><span style=3D"font-family:'Arial';font-size:8pt;">*********************=
*********************************************************</span></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;"> - NOTICE FROM DIMENS=
ION DATA AUSTRALIA</span></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;">This message is confi=
dential, and may contain proprietary or legally privileged information.  If=
 you have received this email in error, please notify the sender and delete=
 it immediately.</span></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;"></span></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;">&nbsp;</span></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;">Internet communicatio=
ns are not secure. You should scan this message and any attachments for vir=
uses.  Under no circumstances do we accept liability for any loss or damage=
 which may result from your receipt of this message or any attachments.</sp=
an></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;">*********************=
*********************************************************</span></p></body>

</html>

--_000_61C24392E6E0FA40A3CB8AA8F31DB4132B49088291AUNDDEXMBS01a_--