Click here to Skip to main content
15,912,897 members
Home / Discussions / XML / XSL
   

XML / XSL

 
AnswerRe: xml to html with c# Help Please Pin
George L. Jackson14-Sep-07 1:48
George L. Jackson14-Sep-07 1:48 
GeneralRe: xml to html with c# Help Please Pin
phillippio14-Sep-07 11:11
phillippio14-Sep-07 11:11 
GeneralRe: xml to html with c# Help Please Pin
George L. Jackson14-Sep-07 11:39
George L. Jackson14-Sep-07 11:39 
QuestionWriting xml as a DiffGram Pin
steve_rm12-Sep-07 21:50
steve_rm12-Sep-07 21:50 
QuestionWant to use xml as localdatabse Pin
manuo512-Sep-07 0:01
manuo512-Sep-07 0:01 
QuestionXML file format Pin
VK-Cadec11-Sep-07 2:21
VK-Cadec11-Sep-07 2:21 
AnswerRe: XML file format Pin
George L. Jackson11-Sep-07 14:17
George L. Jackson11-Sep-07 14:17 
GeneralChoice of Value Types in Field Pin
Brady Kelly11-Sep-07 1:38
Brady Kelly11-Sep-07 1:38 
I'm working on an XML schema for defining flat file layouts. I will be converting our current, template based[1] defintions to XML definitions, and was wondering about how best to express the options for the content of a column in a flat file, especially for exports, i.e. producing the file.

I'm looking at a sequence of Column[2] elements, where each Column element has a name, and a value source. Currently, the value sources are only ADO.NET columns in a data source, or literals. I would however like to expand the potential value sources to include functions etc.

My main concern is how to express the choice of value source. I'll use {} instead of angle brackets to show what I mean. My Column element would look something like:

{Column name="CustomerID" type="System.Int32"}
{DataField query="Customers" field="CustomerNo" /}
{Lookup table="xxx" ..... /}
{Literal}999{/Literal}
{/Column}

I could just use a literal value as a text node below the Column element, but that breaks consistency with the other content types. What suggestions can I get for expressing this?

[1] It is currently a very hard to maintain system where a record layout is defined as s string, with tabs, commas, etc. between output columns. If a non-delimiter string is surrounded by '%' characters, it is the name of a field from the data source to render into that column.



I do not believe they are right who say that the defects of famous men should be ignored. I think it is better that we should know them. Then, though we are conscious of having faults as glaring as theirs, we can believe that that is no hindrance to our achieving also something of their virtues. - W. Somerset Maugham


My New Blog

Questionhow to use the distinct-nodes function? Pin
Rocky#11-Sep-07 0:30
Rocky#11-Sep-07 0:30 
Questiongeneralizing the tabular display of xml data Pin
Rocky#10-Sep-07 20:23
Rocky#10-Sep-07 20:23 
QuestionHow to XSL parse 300 mg XML file? Pin
mcsdgal7-Sep-07 8:21
mcsdgal7-Sep-07 8:21 
NewsReding xml node in windows Forms [modified] Pin
chakran6-Sep-07 1:10
chakran6-Sep-07 1:10 
GeneralRe: Reding xml node in windows Forms Pin
Chetan Patel7-Sep-07 2:39
Chetan Patel7-Sep-07 2:39 
AnswerRe: Reding xml node in windows Forms Pin
israr Ali .NET7-Sep-07 2:39
israr Ali .NET7-Sep-07 2:39 
QuestionCalling a template recursively?? Pin
Rocky#5-Sep-07 0:23
Rocky#5-Sep-07 0:23 
AnswerRe: Calling a template recursively?? Pin
George L. Jackson5-Sep-07 2:15
George L. Jackson5-Sep-07 2:15 
GeneralRe: Calling a template recursively?? Pin
Rocky#5-Sep-07 2:57
Rocky#5-Sep-07 2:57 
GeneralRe: Calling a template recursively?? Pin
Rocky#5-Sep-07 3:05
Rocky#5-Sep-07 3:05 
GeneralRe: Calling a template recursively?? Pin
George L. Jackson5-Sep-07 5:56
George L. Jackson5-Sep-07 5:56 
GeneralRe: Calling a template recursively?? Pin
Rocky#5-Sep-07 18:53
Rocky#5-Sep-07 18:53 
GeneralRe: Calling a template recursively?? Pin
George L. Jackson6-Sep-07 1:50
George L. Jackson6-Sep-07 1:50 
GeneralRe: Calling a template recursively?? Pin
Rocky#5-Sep-07 19:50
Rocky#5-Sep-07 19:50 
GeneralRe: Calling a template recursively?? Pin
Rocky#6-Sep-07 1:30
Rocky#6-Sep-07 1:30 
GeneralRe: Calling a template recursively?? Pin
George L. Jackson6-Sep-07 1:54
George L. Jackson6-Sep-07 1:54 
GeneralRe: Calling a template recursively?? Pin
Rocky#6-Sep-07 2:17
Rocky#6-Sep-07 2:17 

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.