Re: Generated XML content not valid



Hi

I had a similar scenario a while ago. Are you sure, that the "dog &
cat" and generated as "<name>dog & cat</name>"? In my case, I had a
flatfile with " in it. They were translated to &quot; in the XML that
got into the mapper. This gave another problem, namely that using
"String Extract"-functoid doesn't work with that, as it sees &quot; as
6 characters instead of one...

So, Try mapping the content of the field to a string-field in the
output... and make sure it isn't translated into &amp; as I would
suspect.

Have you installed service pack 1?

Jan Eliasen

On Tue, 19 Jul 2005 15:01:57 +0200, "Gerrit Hulleman"
<hulleman@xxxxxx> wrote:

>Anyone know a solution for a scenario where the input contains invalid
>charakters in the XML?
>
>Eg. a field with content "dog & cat" in flatfile input results after mapping
>in "<name>dog & cat</name>" in XML. This generates an error.
>
>System: Biztalk 2002 enterprise
>
>Custom functiod to remove special chars?
>

--
Jan Eliasen, representing himself and not the company he works for.
.



Relevant Pages

  • Can I use an industry standard XSD and ADO.NET / SQLServer to output a conforming XML file
    ... Create a SQLServer stored proc that returns a dataset ... I would then like to call some sort WriteXML method on the dataset ... To complete the scenario, I expect I would then 'post' the XML ... I don't have a vast experience with XML, but I am comfortable that I ...
    (microsoft.public.dotnet.xml)
  • RE: SOAP in VB .NET
    ... \par welcome to the MSDN newsgroup. ... \par In all the scenario, since you want to use SSL/HTTPS to secure your communiation channel, I think we should build a ASP.NET web application which can be hosted in IIS server which support buildin SSL/HTTPS channel configuration. ... \par #Employing XML in the .NET Framework ... You can gain many useful resource in the MSDN webservice development center: ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Best solution: SQLXML, XML Data Binding, or MSXML?
    ... You can look into the client-side FOR XML of SQLXML 3.0 if you want ... Re Scenario #2: The SQLXML Bulkload object can be called through the managed ... > I am trying to retrieve relational data in XML from a SQL Server 2000 ...
    (microsoft.public.sqlserver.xml)
  • What is the best way to make dual-way xml databinding?
    ... I am looking for the best solution for this scenario: ... ASP.NET needs display an editable form with 20 textboxes. ... Data source is ... Xml must be updated. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Help please - Business Rules Engine giving me grey hair
    ... I have two rules that needs to be applied to an XML ... expecting. ... Below is the scenario, I would really appreciate it if someone could point ... total), the LocationCount, as well write the highest MaxStampDutyRate to ...
    (microsoft.public.biztalk.general)

Loading