Click here to Skip to main content
16,004,927 members
Home / Discussions / XML / XSL
   

XML / XSL

 
AnswerRe: xml codes Pin
PIEBALDconsult4-Apr-07 7:10
mvePIEBALDconsult4-Apr-07 7:10 
QuestionAppendChild problem Pin
Rob Grainger4-Apr-07 4:23
Rob Grainger4-Apr-07 4:23 
QuestionReading an Xml file Pin
honeyss3-Apr-07 18:08
honeyss3-Apr-07 18:08 
AnswerRe: Reading an Xml file Pin
Stefan Troschuetz3-Apr-07 21:22
Stefan Troschuetz3-Apr-07 21:22 
AnswerRe: Reading an Xml file Pin
led mike4-Apr-07 4:39
led mike4-Apr-07 4:39 
QuestionLooking for a way to output CSV Pin
PIEBALDconsult2-Apr-07 13:01
mvePIEBALDconsult2-Apr-07 13:01 
AnswerRe: Looking for a way to output CSV [modified] Pin
PIEBALDconsult3-Apr-07 9:44
mvePIEBALDconsult3-Apr-07 9:44 
QuestionStructured HTML to XML Pin
RichardInToronto30-Mar-07 5:49
RichardInToronto30-Mar-07 5:49 
Hello,

My task is to convert race results like this to XML:
http://www.sportstats.ca\res1997\nord10k.htm

You can see that there are 1,948 race results. I need to create 1,948 xml elements. I would like to see XML data like this:

<Racer>
<Place>1</Place>
<ClockTime>29:41</ClockTime>
<PacePerK>2:59</PacePerK>
<BibNumber>1868</BibNumber>
<Name>Rachid TBAHI</Name>
<City>Sleepy Hollow</City>
<Prov>NY</Prov>
<CategoryPlace>1/213</CategoryPlace>
<GenderPlace>1/1216</GenderPlace>
<Category>Men 30-34</Category>
</Racer>

I've shown just the first entry, and would expect to see 1,947 more.

A few months ago, I wrote some C# code that would convert the URL above to the kind of XML I wanted. I noticed that the race results were all after a <pre> tag. I found that I had to use a C# regular expression to parse the race results. Creating one regular expression isn't so bad, but there is so much race results data, conforming to many different regular expressions, that this becomes a large project for me.

Recently, I found out about Dapper and thought it would be able to make this a manageable project. Their website is here: http://www.dapper.net/

I have tried unsuccessfully to create a Dapp that will do this. If you look at the source html for the sportstats URL, you will see that there isn't anything delineating the attributes I need to capture. It's not like a CSV file - it's more like an old fashioned mainframe fixed width file. I can't seem to define fields for the Dapp, as a result.

Any suggestions are most welcome!

Richard Rogers
AnswerRe: Structured HTML to XML Pin
PIEBALDconsult2-Apr-07 14:56
mvePIEBALDconsult2-Apr-07 14:56 
GeneralRe: Structured HTML to XML Pin
RichardInToronto2-Apr-07 15:50
RichardInToronto2-Apr-07 15:50 
GeneralRe: Structured HTML to XML Pin
PIEBALDconsult3-Apr-07 3:27
mvePIEBALDconsult3-Apr-07 3:27 
QuestionI'm confused Pin
Mike Hankey29-Mar-07 15:53
mveMike Hankey29-Mar-07 15:53 
AnswerRe: I'm confused Pin
Christian Graus29-Mar-07 16:00
protectorChristian Graus29-Mar-07 16:00 
GeneralRe: I'm confused Pin
Mike Hankey29-Mar-07 16:12
mveMike Hankey29-Mar-07 16:12 
QuestionXml - Element or CDATA Pin
Mike Hankey28-Mar-07 16:59
mveMike Hankey28-Mar-07 16:59 
AnswerRe: Xml - Element or CDATA Pin
Stefan Troschuetz28-Mar-07 23:20
Stefan Troschuetz28-Mar-07 23:20 
GeneralRe: Xml - Element or CDATA Pin
Mike Hankey29-Mar-07 1:12
mveMike Hankey29-Mar-07 1:12 
Questionxmlwriter [modified] Pin
Tkml23628-Mar-07 8:56
Tkml23628-Mar-07 8:56 
AnswerRe: xmlwriter Pin
led mike28-Mar-07 10:26
led mike28-Mar-07 10:26 
GeneralRe: xmlwriter Pin
Tkml23628-Mar-07 10:47
Tkml23628-Mar-07 10:47 
GeneralRe: xmlwriter Pin
Stefan Troschuetz28-Mar-07 23:13
Stefan Troschuetz28-Mar-07 23:13 
QuestionAbout Xml parser Pin
siddharthsan27-Mar-07 22:49
siddharthsan27-Mar-07 22:49 
AnswerRe: About Xml parser Pin
led mike28-Mar-07 10:24
led mike28-Mar-07 10:24 
QuestionWeb Service : Unable to read data from the transport connection Pin
Mayank Prajapati26-Mar-07 19:41
Mayank Prajapati26-Mar-07 19:41 
Questionset xsl dynamically to xml Pin
Tamimi - Code26-Mar-07 2:53
Tamimi - Code26-Mar-07 2:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.