Extensible Markup Language (XML) refers to the encoding of documents such that they can be read by both machines and humans. XML documents use tags to show the beginning and end of a set of data. XML is used extensively on websites to show volumes of data, and is the default for a number of office productivity suites. This topic includes discussions of XML-related technologies, such as XQuery (the XML Query language), XPath (the XML Path language), XSLT (eXtensible Stylesheet Language Transformations), XLink (the XML Linking language) and XPointer (the XML Pointer language).

Share tech news, updates, or what's on your mind.

Sign up to Post

I have A xml File Where I have to Search <correspondenceTo>(.*?)</correspondenceTo>,if This tag is There Then we have to find in bettween <email> tag and cheak <Email> have in this format or not,<email>:&#x000A0;<email>,if not throw error

public void checkEntityTag(XMLContext xmlContext)throws Exception

                       System.out.println("journal name is"+CheckContent1.getFilePath());
                       File file=new File(CheckContent1.getFilePath());
                       BufferedReader b=new BufferedReader(new FileReader(file));
                       String readLine = "";
                        System.out.println("Testing checkEntityTag ");
                          Pattern  pat= Pattern.compile("<correspondenceTo>(.*?)</correspondenceTo>",Pattern.DOTALL);
                         while ((readLine = b.readLine()) != null) {
                                Matcher m=pat.matcher(readLine);
                	System.out.println(" Non Breakable Entity is missing in between Word \"+\"\\\"email\\\"\"+ \"and tag\" +\"\\\"&lt;email&gt;\\");

Open in new window

Free Tool: Port Scanner
LVL 12
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

on a window server 2012, in February 2018, the server became unresponsive due to a process command line XSTL (32bit) or sometimes command line XSTL using all the CPU. Ending task doesn’t help. We don’t use msxml or the XSTL. Any suggestions of how to stop it permanently or remove it permanently. Thanks
Hi, I am trying to create a "Database" or "blog" to simply add 'comments' or 'posts' from users, but I don't want to create a database. I would prefer using something like xml, php or similar. I am using html with bootstrap. I just want the user to post a comment, and I will save it to a specified file. The information to be written and retrieved from that file would be : date, username, and comment.

I would like to save it , and retrieve it for displaying purposes only (kind of a blog)

I already have a page that sends those user comment to my EMAIL, so I have the input fields already

Tnx for any help and I am open to your suggestions on how to accomplish this task
In Ms Access I am trying to make a API call to Paypal to try them out. But no matter what I get a Error "0". Does anyone have any idea what the problem is. I have put my code below.

Option Compare Database
Option Explicit
Public Function PayPalGetTransactionDetails()

'On Error GoTo Errorhandler

    Dim Http As New msxml2.XMLHTTP60
    Dim Doc As New msxml2.DOMDocument
    Dim fp1 As String
    Dim fp2 As String
    Dim XmlString As String
    Dim UrlPath As String
    Dim TransactionIdValue As String
    Dim APICALL As String
    Dim UserNameValue As String
    Dim PassWordValue As String
    Dim SignatureValue As String
    Dim SubjectValue As String
    UserNameValue = "MyUserName_api5.gmail.com" 'API Paypal User Name
    PassWordValue = "MyPassowrd" 'API Paypal Password
    SignatureValue = "MySigvalue" 'Supplied by Paypal.
    APICALL = "GetTransactionDetails"
    SubjectValue = "Dgstgsgsh@gmail.com"
    fp1 = "C:\Database\ExportedOrders\PaypalApiTestRequests\"
    fp2 = "C:\Database\ExportedOrders\PaypalApiTestResponses\"
    UrlPath = "https://api-3t.paypal.com/2.0/"
    TransactionIdValue = "57547564e67744757"
    Http.Open "POST", UrlPath, False
'    Http.setRequestHeader "CONTENT-TYPE", "text/html"
'    Http.setRequestHeader "Username", UserNameValue
'    Http.setRequestHeader "Password", PassWordValue
'    Http.setRequestHeader "Signature", SignatureValue

    XmlString = "<?xml version=""1.0"" encoding=""UTF-8""?>" & 

Open in new window

Please help... this code is not showing any result........

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/collection">
<b> <xsl:text>* bookk details sortedin descending order of their pric*</xsl:text></b>

<xsl:for-each select="bookinfo/book">
<xsl:sort select="price" data-type="number" order="descending"/>
<xsl:value-of select="@bookid"/> </br>
<xsl:value-of select="bookname"/> </br>
<font color="red"><xsl:apply-templates select="price"/></font><br/>


<?xml version="1.0" ?>
<?xml-stylesheet href="C:\Users\ajasawant\Downloads\AIT PRoject\xml practice\bookstylesheet.xsl" type="text/xsl" ?>
<book bookid="B001" category="practical">
<bookname>php and xml</bookname>
<authorname>neelima padmawar</authorname>
<book bookid="B002" category="practical">
<authorname>alok pawar</authorname>
Hi,  Thankyou experts for helping out!

i am submitting some data to an API.

I get back the below packet:
object(stdClass)#4 (7) {
  array(1) {
    object(stdClass)#5 (7) {
      string(31) "Tue, 13 Mar 2018 00:02:15 +0000"
      string(32) "406e3658b6c0c0984dacee9298b0c5d8"
      string(10) "0419697XXX"
      string(11) "61402374XXX"
      string(86) "Hi Jimmy, Broken SMS begun."
      string(48) "/2016-11-30/sms/406e3658b6c0c0984dacee9298b0c5d8"
      object(stdClass)#6 (1) {
        string(31) "Tue, 13 Mar 2018 00:02:25 +0000"
  string(16) "Response follows"
  string(10) "2016-11-30"
  string(48) "/2016-11-30/sms/406e3658b6c0c0984dacee9298b0c5d8"

Open in new window

Could someone please help me serialise it?

I want to gain access to this part:
      object(stdClass)#6 (1) {
        string(31) "Tue, 13 Mar 2018 00:02:25 +0000"

Open in new window

Basically I want whatever is in the section "Delivered".

Could someone please help?
Experts, please let me know if you can recommend any free XML validation tool (not the generic plugins available in Notepad++, browser, etc) which is more advanced in terms of debugging the errors. Please recommend only if you have personally used it.

How can create a xml file based in a xsd file. Data source is a datatable.

best regards
<XML ID="#xmlbill" SRC="bill.xml"></XML>
<table datasrc="#xmlBill" border=1>
      <td><div datafld="billno"></div></td>
      <td><div datafld="billdate"></div></td>
      <td><div datafld="PONO"></div></td>
      <td><div datafld="billamt"></div></td>
      <td><div datafld="billduedate"></div></td>
<?xml version="1.0"?>
Eliminate empty tags from XML. Sample XML is like
                                <DepartureDate>19-Jun-2018</DepartureDate><ArrivalDate /><DepartureTime /><ArrivalTime /></OriginDestinationDetails><PreferredFlightDetails />
I want to remove empty tags like SessionToken, ArrivalDate  etc.
And I want to save the final XML in a string.
Free Tool: ZipGrep
LVL 12
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

VB.Net, xml to web service

How to add more parameter at CHECK_OUT such s Target,TimeStamp,AuthKey?
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <CHECK_OUT Target="Test" TimeStamp="2016-06-02T12:12:12.8028213+02:00" AuthKey="XXXXX" Release="1.4" xmlns="http://domain.com">
      <Info Code="1930"/>
        <UniqueID ID="152" Type="114"/>
what are some real world (may be even cool)  example or applications, anyone has worked on ,  in XSL (eXtensible Stylesheet Language) and XSLT trasformation?
I have created an application developped by Embarcadero XE5 C++. I use THTTPRio to consume a web service.
I have a problem with the request message generated by our application. It seems that namespaces are missing in the soap message for NS1, NS2 and NS3.
I think there's a bug in the Embarcadero.

Here the SOAP request message generated by Embarcadero:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <G110Request xmlns="urn:wsdltypes.nmvs.eu:v1.0">
                  <Header xmlns="urn:types.nmvs.eu:v1.0">
                        <UserSoftware NS1:name="xxxxx" NS2:supplier="xxxx"/>
                  <Body xmlns="urn:types.nmvs.eu:v1.0">
                              <ProductCode NS3:scheme="GTIN">1234567891234</ProductCode>

Thanks for your help
12345.xmlUnrecognized input signature.
  Line 1, Position 3
This Dialogue Shows when opening my xml files
looking for some vba coding to parse thru an xml file, need to extract : the following fields:Vendor FirmID and Name,UserID,lastname,firstname,email,along with the credits and credits detail information.
New to XML and lost as where to begin
I'm using the following to display numbers from an xml in an asp page

For Each xmlNode In objXML.documentElement.selectNodes("Data[FundCode/text()='" & neaFundID & "']")

NEADayPnL = xmlNode.selectSingleNode("DayPnL").text


***then im creating a recordset to load up the data ***

Set objRsBC  = CreateObject("ADODB.recordset")

            objRsBC.Fields.Append "NNWDayPnL", adVarChar, 100

objRsBC.open, , 2, 3
                  objRsBC.Fields("NNWDayPnL") = NNWDayPnL

then I'm calling  a function to display the number...

<%call vbproc(objRsBC("NNWSLDayPnL"), objRsBC("NNWSLDayPnL").name)%>

seems long winded, how would I select a single node and display the number with out creating a record set etc...

We want to create an APIs in .net platform. Is there an third party tool which will create the API faster and response format should be JSON, XML and soap based APIs.

Which is the tool for API documentations.
I have SQL server 2012.

I need to set up an automated export of data to XML format and email to a set of people every day.

I can run the query to select the data I want.  Im just not sure how to export that data to an XML form.
How do I make a product selection guide with CSS, Javascript, and a database (or without a database if that is possible). XML allowed.

What it would do is be 5 dropdowns and a submit button.

Say it's for shoes and, for simplicity, has 3 dropdown.

The first dropdown would be either running, walking, cross-train, casual, etc
The second dropdown would be color
The third dropdown would be size of foot

You would press submit and a div would pop out of the bottom under the submit button with all the products on our site that matched the dropdown choices.

Would love to do this with pure CSS or pure CSS and XML, but
if we need to add javascript we can
If we need to add a mySQL database we can

Let me know what the simplest way to set this up is. Not looking for CSS help, looking for general outline of how to do this.

Will gather code details later, just need a basic overview. Coding details is a plus if you want to offer it.


Get expert help—faster!
LVL 12
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Consuming ASPNET WSDL service using PHP
Hi Experts,
having some serious issues getting this one right. I am writing a PHP web app that needs to post an xml to an ASPNET WSDL service. Upon submitting data via PHP service it gives me an error "SoapFault exception: [s:Client] An error has occurred during service execution halting any further processing."
I then decided to use ReadyAPI and the error it gives is "HTTP/1.1 415 Cannot process the message because the content type 'multipart/related; type="text/xml"; start="<rootpart@soapui.org>"; boundary="----=_Part_0_2905742.1520010170903"' was not the expected type 'text/xml; charset=utf-8'."

Really baffled with this one. Have tried so many different soap codes to submit data and same response. any suggestions?

I am  trying to compile a 2010 project .soln on visual studio 2017 . It had several references to other *2008.vcxproj

I have renamed the  *2008.vcxproj , *2008.vcproj to *2010.vcproj so that i could get it to work and then retarget the whole thing t o 2017.

However, it didn't work. And now, i get complaints about

Collection was modified. enumeration operation may not execute. <------ What does this error mean anyway?

whenever i attempt to retarget solution.

What (and where) needs to be done to manually modify the xml vcxproj so that i can modify everything once and have it target to 2017 successfully?

I have a string which I need to find in all XML files. I am using notepad ++.



Open in new window

I need to find all files which contain 'ST2' in PARA APPLIC and PARA element should be followed by XREFXT element with XIDTYPE="GRAPHIC"



Open in new window

'X' represents wild character.

ST2 can be anywhere places in the APPLIC example:

while excecting the the struts 1.3 prog for the validation i got the compile error on the validate xml file
<!DOCTYPE form-validation PUBLIC
     "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.3.0//EN"
           <form name="formbean">
              <field property="username" depends="required">
                  <arg0 key="my.un"/>  -------------------------------------------> here of the The content of element type "field" must match "(msg|arg|var)*".
i have a existing junit file which basicaly using power mock and validating incoming messages to existings system say XYZ.  I see big XML there with bunch of tags as below

String message = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>>"
                              + "<Msg><uap>2013-09-2
++ "<id><udd>12

now i need to modify above xml with new xml generated using new xsd.

how to do that?

why xml represented as above with concatenation of + in between
any good ends to end example on this

please advise
any free tools like xpmspy which is free for generating sample xmls from XSDs and to work with XSLT etc.

I head XMLEdit but i did not see any direct link to download though?

Please advise






Extensible Markup Language (XML) refers to the encoding of documents such that they can be read by both machines and humans. XML documents use tags to show the beginning and end of a set of data. XML is used extensively on websites to show volumes of data, and is the default for a number of office productivity suites. This topic includes discussions of XML-related technologies, such as XQuery (the XML Query language), XPath (the XML Path language), XSLT (eXtensible Stylesheet Language Transformations), XLink (the XML Linking language) and XPointer (the XML Pointer language).