On Feb 14, 2:41 pm, "roy axenov" <r_axe...@mail.ru> wrote:
> On Feb 14, 6:48 pm, "Bostonasian" <axk...@gmail.com> wrote:
>
>
>
> > On Feb 14, 11:41 am, Joseph Kesselman
> > <keshlam-nos...@comcast.net> wrote:
>
> > > Why not just use the fact that XML is inherently
> > > tree-structured, and let the tree hierarchy be your
> > > data hierarchy, rather than trying to link things with
> > > IDs? MUCH easier to process for both machines and
> > > humans.
>
> > > <Root>
> > > <Survey ControlType="Label" Text="1. Commute">
> > > <Survey ControlType="Label" Text="How do you
> > > commute?">
> > > <Survey ControlType="DropDown" Text="Car"/>
> > > <Survey ControlType="DropDown" Text="Subway"/>
> > > </Survey>
>
> > Unfortunately the format on the top is what I get from
> > third party and I do have to work with it. I have no
> > control over "Let's use this format, screw the one you
> > have".
>
> I would heartily recommend contacting the third party in
> question and mildly suggesting to them to hire a borking
> XML expert instead of saddling some DBA type with the task
> of designing XML schemata.
>
> (Oh, I just can see that: 'Hey Fred, we need to uh do urgh
> some um XML stuff. Here, take this XML Expertise In Six
> Productive Lunch-Breaks. One of my pointy-haired flunkies
> told me it was really great.')
>
> --
> roy axenov
Yes I did try that. But for whatever reason, their turn around time
takes longer than me creating XSLT to transform it. Yes I know, it's
all bureaucratic BS and I am already frustrated with this even before
coding. And again, if that was all possible and have grace period time
to negotiate those issue, I wouldn't have posted this here.
|