C#öðxml½âîöîä¼þ³ö´í½â¾ö ½ ¨

Source: Internet
Author: User

1.?úèy? Do?ódxml?¤?¨o?μ?êμì?£?è?? °<?±oí?°&?±£??? Xmlà′?μê???? 1ê1ó?μ?£?????? A?? X?? £?? a??? Ê?ê?ê1ó? CDATA2?? Tò? " <! [cdata[] ±ê??? Aê?£?ò? "] > "±ê??? Áê?£?ê? Cdata?ú2?? Úèy±?? A??? ÷o???? £?? Ì?? μ?÷2?????

?·? £

2.?úèy? do?ódμí??? ′òó?x?? £?? A?? ʱ?ᱨ′í£o "" (Ê?áù????? μ0x1d) ê?? td§μ?x??.? Ó??? Ò±£′? Xmlê±òy ¢μ?òì3£. System.ArgumentException: °?± (ê?áù????? μ0x1d) ê?? Td§μ?x??? £

3?′íμ?? -òòê?? Úèy? do?ódμí??? ′òó?x?? £?′|àí? ¨ê??????? Dd1y?? £?1y??? ¨?a£o


Return System.Text.RegularExpressions.Regex.Replace (str,@ "[\x00-\x08]|[ \x0b-\x0c]| [\x0e-\x1f] ";

Ò?é?á???? E?? £?μúò?????? A?? ±é£?μú?t?? Ó?μ?? E?? ±è?? Éù£?? Ú???? Ò? D?ó?? §ê?è?êy? Yê±éú3éxml£?? Éò??? Xml?áμ?? Úèy?′ddé?ê?1y?? £?ò?±£?¤xml??? Tê1ó???? Éò?? Yè? A?? Xml?? Μμ?£


Ò??? Ê?? Ê??? Aêí£o

? °?± (Ê?áù????? μ0x1d) ê?? Td§μ?x??

? Ó??? Ò±£′? Xmlê±òy ¢μ?òì3£. System.ArgumentException: °?± (ê?áù????? μ0x1d) ê?? Td§μ?x??? £

2úéú?-òòê?xml??? T? d°üo?μí??? ′òó?x??? Ì3éμ?

′|àí? ¨£o?ú2úéúxml??? Tμ?ê±oò£?1y?? μí??? ′òó?x??

°?ò??? X?? ′?? Dμ? Μídò?? Asciix?? Ì??? 3é&#

In addition to the Declaration, Running GuestArticles are original, reproduced please link to the form of the address of this article
C#? Dxml?a????? t3?′í?a??? ¨

This address: http://www.paobuke.com/develop/c-develop/pbk23660.html






Related content WPF MVVM?? X÷ ¢?í?ìd? Using a foreach statement to iterate over an array and use an array as a parameter in d?°′?¥c# C # page Jump method summarize how C # can realize the function of mobile phone message sending
JQuery uploadify in Google and Firefox upload failed solution talking about C # Md5 and SHA1 two kinds of encryption C # generate unique non-repeating order number C # implement a custom FTP action wrapper class instance

C#öðxml½âîöîä¼þ³ö´í½â¾ö ½ ¨

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.