If anyone is interested in the BizTalk Editor solution I figured out that I needed to pass my message into the xpath expression as well so it new what it was evaluating... so below gave me the
record count I was looking for.
Where intRecordCount is just an int and PracApptsGetMessage is my...
Thank you k5tm! Yes, I was able to put that into an xslt file and it worked. I must have had a syntax error when I tried it before. I was also able to put it into the xpath evaluator in xmlspy and run it against my xml and it does work. So at least now I know the xpath is correct. It's...
Hello,
I'm trying to get a count of nodes using xpath inside a biztalk expression editor. Please let me know if there's a better forum in which to post this.
I've tried many different approaches and I still keep getting 0. Also, I tried putting this expression in xslt to test as I've used...
Hello,
I have a gridvew with a linkbutton in a template field, but when I click on it, I can't access any of my server side controls in the code behind. The IsPostBack == false. I need to access a lblCampaignId.text that sits outside of the gridview. The CampaignId is a parent id of all the...
I don't understand why I'm getting the error when validating against a a schema file in Visual Studio.
My phone number value is 10 digits with no alpha, yet the intellisense tells me the phone number cannot contain text.
Any ideas?
Thanks in advance.
phone number value = 9999999999
xml...
the exe is part of the url to which I'm trying to post. So it's something like 'https://somedomain.com/cgi-bin/filename.exe?id=xxxx&pr=i'. The content I actually post is XML in a string. The risk of changing our code from using WebClient to HTTPWebRequest is that I'd be changing it for one...
Hello,
We've been using the same WebClient.UploadString(uri,string) code for a few years now and it's worked fine. I'm implementing a new client and need to upload to a url that has an exe extension with a querystring and parameters. Also, it's https rather than http. I know I can reach the...
Hello,
I'm writing an xsl file in order to write out xml. I have a couple of date fields that I need to format in a specific pattern. Can I do this by creating a named template which defines the pattern? I must format it in the xsl rather than changing .net code.
this is what I'm trying but...
Hello,
I'm trying to implement security trimming in my site via the web.sitemap file and it's working fine for siteMapNodes that have the physical url hardcoded. But it's not working for siteMapNodes that have a ~virtual url. In the below web.sitemap example, it works for my node titled...
I've setup a simple asp:Menu control which uses a web.sitemap for the links. I've setup a GenericPrincipal object for my logged in user which contains their roles (marketing, finance, IT, etc) which is populated by looking in the database for that userid. One user can be in many roles. I now...
Thank you, George. I remember an article we came across a while back about the parameter sniffing. So today I implemented the change to the stored procs involved and did see a huge improvement.
Time will tell if this will be a permanent solution.
Thanks again.
Thanks. But the issue is that the query will go fast in query analyzer but slow from the web page. Like the web server is hanging onto an old cached execution plan or something.
Why would the same query finish in a few seconds from query analyzer, but hang from the web page?
Hello,
Periodically we have a web page timeout when running a query, but when we run the same query from query analyzer the query comes back in a few seconds. (I might add that query analyzer will take a very long time to finish sometimes, which just means that our database is crunching too...
Thank you, tsuji! That's exactly what I needed except the element includes the namespaces...is there a way to suppress that so it's just the element <my_matches>?
<my_matches xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
I have a node within a xml file as below and I just want to find the node and pull in the node and all the xml, attributes and values just as is. I tried <xsl:value-of select="//my_matches"/>
But all I get are the values within the elements...how do I just get the node and all of it's...
I did use the xsd.exe utility to get my class and it worked great.
Please see the other thread:
http://www.tek-tips.com/threadminder.cfm?pid=678
Thanks
Thank you Dian. The reason I had to design it around serialization is that we were already storing the xml for this new class in a sql server xml datatype column (we were just building the xml manually thru code), and we didn't want to change any of our existing code that accesses it via other...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.