Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 33
Search took 0.02 seconds.
Search: Posts Made By: jtnchang
Forum: ASP.NET 3.5 Professionals January 29th, 2010, 06:14 AM
Replies: 8
Views: 894
Posted By jtnchang
Rodmcleay, Sorry but I did not find a good Linq...

Rodmcleay,

Sorry but I did not find a good Linq to xml sample code and was wondering if you know a link or can be a little more specific on the plumbing code. btw, I use both a XSLT and a XML file...
Forum: BOOK: XSLT Programmer's Reference, 2nd Edition January 27th, 2010, 06:08 PM
Replies: 12
Views: 3,165
Posted By jtnchang
I am not going to school for this. I just got...

I am not going to school for this. I just got the answer back and they said yes to ASP.NET method. All I ask you is convert RateInfo element to a attribute for me.
Forum: BOOK: XSLT Programmer's Reference, 2nd Edition January 27th, 2010, 04:25 PM
Replies: 12
Views: 3,165
Posted By jtnchang
Michael, I ask them for more clarification and...

Michael,

I ask them for more clarification and am waiting to hear from them. In the meantime here is an excerpt of the requirement

Use the attached XML file which contains hotel information as it...
Forum: BOOK: XSLT Programmer's Reference, 2nd Edition January 27th, 2010, 03:23 PM
Replies: 12
Views: 3,165
Posted By jtnchang
Michael, I am trying to learn XSLT and had just...

Michael,

I am trying to learn XSLT and had just found out that like you pointed out that the whole thing can be done easily in XML/XSLT. But the people have me do this wants from me both a XSL file...
Forum: BOOK: XSLT Programmer's Reference, 2nd Edition January 27th, 2010, 01:58 PM
Replies: 12
Views: 3,165
Posted By jtnchang
Michael, All I need to do is two things: 1. to...

Michael,

All I need to do is two things:
1. to populate the dropdownlist so user can select the hotel from the list.

2. to populate the key info of the hotel selected into a Label control so it...
Forum: BOOK: XSLT Programmer's Reference, 2nd Edition January 26th, 2010, 08:47 PM
Replies: 12
Views: 3,165
Posted By jtnchang
My apologies if switching thread caused any...

My apologies if switching thread caused any inconvenience. I switched out of dyer desperation. As far as the transformation, Michael is correct in stating that I failed to provide the output in the...
Forum: ASP.NET 3.5 Professionals January 26th, 2010, 07:39 PM
Replies: 8
Views: 894
Posted By jtnchang
I have not tried it but I think you got one way...

I have not tried it but I think you got one way that I can tackle now. I was thinking that I had to let XSLT do the querying and then dump it as a text file for ASP.NET to populate into my Label1. ...
Forum: ASP.NET 3.5 Professionals January 26th, 2010, 06:40 PM
Replies: 8
Views: 894
Posted By jtnchang
Thanks Timeware. No SQL Server but a XML file...

Thanks Timeware. No SQL Server but a XML file here. I don't know enough about XSLT so I am fumbling between different ideas. The requirment is for one XSL file and one ASPX file so I just googled...
Forum: BOOK: XSLT Programmer's Reference, 2nd Edition January 26th, 2010, 05:06 PM
Replies: 12
Views: 3,165
Posted By jtnchang
Hi, My apologies for not providing a output due...

Hi,

My apologies for not providing a output due to my lack of XSL knowledge. Here is the complete xml file followed by the output. Input test xml file has five hotels but the requirment demands the...
Forum: ASP.NET 3.5 Professionals January 26th, 2010, 01:50 PM
Replies: 8
Views: 894
Posted By jtnchang
Hi, Thanks for your prompt reply. The xml data...

Hi, Thanks for your prompt reply.
The xml data is used in two places, namely, in Dropdownlist first and then also in a Label or similar.

What event needs to take place is dropdownlist index...
Forum: BOOK: XSLT Programmer's Reference, 2nd Edition January 26th, 2010, 05:02 AM
Replies: 12
Views: 3,165
Posted By jtnchang
XML transformation question

I have an assignment which is as follows,

<Hotel>
<hotelId>109277</hotelId>
<name>Park Central New York Hotel</name>
<address1>870 7th Ave</address1>
<address2/>
<address3/>
...
Forum: XSLT January 23rd, 2010, 07:42 PM
Replies: 10
Views: 1,014
Posted By jtnchang
Michael, My understanding of XSL is limited, so...

Michael,

My understanding of XSL is limited, so at first I thought that I needed to transform to html and form a ASP.NET dropdown control. Problem with that is that I can't get my selectedVaule off...
Forum: XSLT January 23rd, 2010, 06:05 PM
Replies: 10
Views: 1,014
Posted By jtnchang
Michael, I know these elements are children of...

Michael,

I know these elements are children of RateInfo, which is tied to the dataset by the key hotelId. So I think it works for me if you can output the RateInfo as an attribute with these...
Forum: XSLT January 23rd, 2010, 05:18 PM
Replies: 10
Views: 1,014
Posted By jtnchang
Michael, My apologies for answering your...

Michael,

My apologies for answering your question earlier. I was not fully aware of the structure in RateInfo and my requirement is to display that element along with the other simple elements in...
Forum: ASP.NET 3.5 Professionals January 23rd, 2010, 06:45 AM
Replies: 8
Views: 894
Posted By jtnchang
Querying XML data

hi,

i have input data in a xml file as follows

<?xml version="1.0" encoding="utf-8" ?>
<Employees>
<Employee EmployeeId="1" FirstName="Tom" LastName ="Jones">
<Employee...
Forum: XSLT January 23rd, 2010, 05:18 AM
Replies: 10
Views: 1,014
Posted By jtnchang
Michael, RateInfo is a grand child of hotel...

Michael,

RateInfo is a grand child of hotel element not a child so your earlier reply did not work. Along with name, address1 and shortdescription, I want RateInfo to become the fourth of all the...
Forum: XSLT January 22nd, 2010, 09:11 PM
Replies: 4
Views: 600
Posted By jtnchang
Michael, That was my test xsl file. The real...

Michael,

That was my test xsl file. The real one looks like below after you gave me info in another thread. What do I need to change in order for me to retrieve data with key set to a...
Forum: BOOK: Beginning XML Databases January 22nd, 2010, 08:08 PM
Replies: 0
Views: 1,429
Posted By jtnchang
XML datareader question

Hi,

Within .NET Framework there is System.Data.SqlClient namespace and within
that there is SqlDataReader object that has a read method. As shown in the
code this read method can read in desired...
Forum: XML January 22nd, 2010, 08:03 PM
Replies: 0
Views: 1,336
Posted By jtnchang
XML datareader

Hi,

Within .NET Framework there is System.Data.SqlClient namespace and within
that there is SqlDataReader object that has a read method. As shown in the
code this read method can read in desired...
Forum: ASP.NET 3.5 Basics January 22nd, 2010, 03:33 PM
Replies: 15
Views: 2,913
Posted By jtnchang
Smile Timeware, I have been very helpful and got me...

Timeware,

I have been very helpful and got me out of my jam. Thanks for your time, efforts, your code and your word of wisdom. Later.
Forum: ASP.NET 3.5 Basics January 22nd, 2010, 06:11 AM
Replies: 15
Views: 2,913
Posted By jtnchang
Smile Timeware, Thanks for the prompt reply again. ...

Timeware,

Thanks for the prompt reply again. Appreciate it for going the extent to show the solution. Now I know the benefit of using reader method. For I was baffled trying to set asp.net data...
Forum: XSLT January 22nd, 2010, 05:33 AM
Replies: 10
Views: 1,014
Posted By jtnchang
Smile Thanks Michael. That was quick and I did not...

Thanks Michael. That was quick and I did not know it was this simple.
Forum: XSLT January 22nd, 2010, 05:19 AM
Replies: 10
Views: 1,014
Posted By jtnchang
How to transfrom multi-layered elements to attributes

Hi Michael,

How do I transform this multi-layered xml file if all I need are just name, shortdescription and Rateinfo elements. Below is my xml file,

<Motels>
<Motel>
...
Forum: XSLT January 22nd, 2010, 05:14 AM
Replies: 4
Views: 600
Posted By jtnchang
Thanks for the prompt reply.

Thanks for the prompt reply.
Forum: XSLT January 22nd, 2010, 04:37 AM
Replies: 4
Views: 600
Posted By jtnchang
How to set one of the attributes as id key

Hi,

Can someone please give me a hand with setting CustomerId as an Id Key. It would help me if I can select all data in xmldatasource with this Id Key equal to some index. Below is my current xsl...
Showing results 1 to 25 of 33

 


All times are GMT -4. The time now is 04:55 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.